Commit 8ba4748
fix: only show error detail when error.original is defined (#1241)
* Fix condition when error does not contain original
* Split optional chaining to two conditions
Co-authored-by: Rik Smale <[email protected]>
Co-authored-by: Rik Smale <[email protected]>1 parent aa40df0 commit 8ba4748
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments