Subversion Repositories SmartDukaan

Rev

Rev 2636 | Rev 3184 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2636 Rev 3172
Line 32... Line 32...
32
    
32
    
33
    @Override
33
    @Override
34
    public JSONObject getLogDataInJson() {
34
    public JSONObject getLogDataInJson() {
35
        JSONObject logDataInJson = new JSONObject();
35
        JSONObject logDataInJson = new JSONObject();
36
        try {
36
        try {
37
            logDataInJson.put("source", source);
37
            logDataInJson.put("source", source.substring(0, 500));
38
        } catch (JSONException e) {
38
        } catch (JSONException e) {
39
            e.printStackTrace();
39
            e.printStackTrace();
40
        }
40
        }
41
        return logDataInJson;
41
        return logDataInJson;
42
    }
42
    }