Commit 26ea6aa
committed
Throw detailed exception when error message could not be parsed
In some cases the schema does not match the response.
In this case it's not possible anymore to see what the original
error was. This is a quick fix to at least have some more sense
of why commercetools responded with an error.1 parent 6b3c7e5 commit 26ea6aa
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
106 | 110 | | |
107 | 111 | | |
108 | 112 | | |
| |||
0 commit comments