Commit d48fb7c
Mrunal Chawda
fix: correct undefined variable reference in error handler
Fix ReferenceError caused by referencing undefined variable 'e' instead
of the correctly scoped 'error' variable in the catch block.
Before: catch (error) { ... e.message }
After: catch (error) { ... error.message }
This bug prevented proper error responses when signature generation failed,
causing the error handler itself to throw an exception.
Hacktoberfest contribution1 parent e33bffa commit d48fb7c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
0 commit comments