Commit af09e10
authored
Enhance error handling with innerException in DataApiBuilderException (#2621)
## Why make this change?
Having the inner exception makes root causing and debugging easier for
downstream consumers of data-api-builder.
## What is this change?
Added an innerException parameter to the DataApiBuilderException
constructor, passing the original exception (ex). This provides better
context and aids in debugging by preserving the root cause of the error.1 parent dcf260a commit af09e10
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1468 | 1468 | | |
1469 | 1469 | | |
1470 | 1470 | | |
1471 | | - | |
| 1471 | + | |
| 1472 | + | |
1472 | 1473 | | |
1473 | 1474 | | |
1474 | 1475 | | |
| |||
0 commit comments