Added more logging information to syslog for failed parse of JSON raw data string
This commit is contained in:
@@ -317,6 +317,7 @@ public abstract class SdDataSource {
|
||||
} catch (Exception e) {
|
||||
Log.e(TAG,"updateFromJSON - Error Parsing JSON String - "+ jsonStr+" - "+e.toString());
|
||||
mUtil.writeToSysLogFile("updateFromJSON - Error Parsing JSON String - "+ jsonStr + " - "+e.toString());
|
||||
mUtil.writeToSysLogFile("updateFromJSON: Exception at Line Number: "+e.getCause().getStackTrace()[0].getLineNumber()+", "+e.getCause().getStackTrace()[0].toString());
|
||||
e.printStackTrace();
|
||||
retVal = "ERROR";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user