diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/FeedCard.tsx | 2 | ||||
-rw-r--r-- | src/components/dialogs/PostInteractionSettingsDialog.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/FeedCard.tsx b/src/components/FeedCard.tsx index f7446bc81..1c1895418 100644 --- a/src/components/FeedCard.tsx +++ b/src/components/FeedCard.tsx @@ -271,7 +271,7 @@ function SaveButtonInner({ } Toast.show(_(msg`Feeds updated!`)) } catch (err: any) { - logger.error(err, {context: `FeedCard: failed to update feeds`, pin}) + logger.error(err, {message: `FeedCard: failed to update feeds`, pin}) Toast.show(_(msg`Failed to update feeds`), 'xmark') } }, diff --git a/src/components/dialogs/PostInteractionSettingsDialog.tsx b/src/components/dialogs/PostInteractionSettingsDialog.tsx index fdf075ca4..63b640d9f 100644 --- a/src/components/dialogs/PostInteractionSettingsDialog.tsx +++ b/src/components/dialogs/PostInteractionSettingsDialog.tsx @@ -209,7 +209,7 @@ export function PostInteractionSettingsDialogControlledInner( props.control.close() } catch (e: any) { logger.error(`Failed to save post interaction settings`, { - context: 'PostInteractionSettingsDialogControlledInner', + source: 'PostInteractionSettingsDialogControlledInner', safeMessage: e.message, }) Toast.show( |