Skip to content

Commit

Permalink
feat: implement granular try-catch in plugin-coinbase
Browse files Browse the repository at this point in the history
  • Loading branch information
monilpat committed Jan 5, 2025
1 parent 4eab376 commit a0eb829
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/plugin-coinbase/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
try {
// Code that may throw an error
} catch (error) {
console.error('Specific error message:', error);
// Handle specific error
}

0 comments on commit a0eb829

Please sign in to comment.