mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-06-13 05:37:41 +02:00
throw json exceptions with cause
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user