Commit edd2d36
authored
Android: preserve JSONException cause in setJSONValueForKey (#34)
The catch block had the original JSONException in hand but built the
CodePushUnknownException without it, discarding the cause and its
stack trace entirely. Pass it through so CodePushUtils.log(Throwable)
callers downstream actually see why the JSON write failed.1 parent 409db41 commit edd2d36
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
0 commit comments