Skip to content

Commit

Permalink
Fix test, fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry Xie committed Apr 11, 2017
1 parent 6a1dc59 commit 66778e4
Showing 1 changed file with 6 additions and 4 deletions.
Expand Up @@ -155,12 +155,14 @@ public void processLintResults(String lintFile, String lintFileSize) {

String lint;
while ((lint = reader.readLine()) != null) {
JSONObject json = JSONObject.fromObject(lint);
lintResults.add(LintResult.fromJsonObject(json));
try {
JSONObject json = JSONObject.fromObject(lint);
lintResults.add(LintResult.fromJsonObject(json));
} catch (JSONException e) {
e.printStackTrace(logger.getStream());
}
}
}
} catch (JSONException e) {
e.printStackTrace(logger.getStream());
} catch (InterruptedException e) {
e.printStackTrace(logger.getStream());
} catch (IOException e) {
Expand Down

0 comments on commit 66778e4

Please sign in to comment.