Skip to content

Commit aa979c2

Browse files
committed
Fix: message error
1 parent 9dd6057 commit aa979c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/button/FavoritedButton.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const FavoritedButton = ({ id, isFavorited = false, style = {}, size = 23 }) =>
2626
setUpdateApi({ path: 'getStarred2', query: null, uid: 1 })
2727
})
2828
})
29-
.catch((e) => logger.error('FavoritedButton', `${e}`))
29+
.catch((e) => logger.error('FavoritedButton', e.message))
3030
}
3131

3232
return (

0 commit comments

Comments
 (0)