Skip to content

Commit

Permalink
Log error in console
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgall committed May 3, 2024
1 parent a88f49c commit d253c68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/ProposalBuilder/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ export default function ProposalBuilder({
successCallback,
});
}
} catch {
} catch (e) {
console.error(e);
toast(t('encodingFailedMessage', { ns: 'proposal' }));
}
}}
Expand Down

0 comments on commit d253c68

Please sign in to comment.