Skip to content

Commit

Permalink
examples/bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarasikee committed Aug 30, 2022
1 parent c70ca55 commit f5c0798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors/ErrorHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export function ErrorHandler(error: Error) {
try {
message = JSON.parse(error.message).message
hint = JSON.parse(error.message).hint
} catch (e) {
} catch (_) {
message = error.message
hint = "No hint provided"
}
Expand Down

0 comments on commit f5c0798

Please sign in to comment.