mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-05-05 00:14:25 +02:00
throw json exceptions with cause
This commit is contained in:
parent
e3e36c7866
commit
92a648612f
@ -53,7 +53,7 @@ public class JsonXmlInputSource extends InputSource {
|
||||
JSONObject jsonObject=new JSONObject(inputStream);
|
||||
resXmlBlock.fromJson(jsonObject);
|
||||
}catch (JSONException ex){
|
||||
throw new IOException(inputSource.getAlias()+": "+ex.getMessage());
|
||||
throw new IOException(inputSource.getAlias()+": "+ex.getMessage(), ex);
|
||||
}
|
||||
return resXmlBlock;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user