Commit ac8c8a5
committed
[CSAPI]: Preserve exception cause on invalid payload
For some exceptions, the cause backtrace provides necessary details for
debugging the actual cause of the issue, since the message is not always
detailed enough.1 parent 9ef776a commit ac8c8a5
File tree
2 files changed
+9
-3
lines changed- sensorhub-service-consys/src/main/java/org/sensorhub/impl/service/consys/resource
- sensorhub-service-sweapi/src/main/java/org/sensorhub/impl/service/sweapi
2 files changed
+9
-3
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
| 358 | + | |
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
| 402 | + | |
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
0 commit comments