Skip to content

Commit

Permalink
Collapse exception
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesSmartCell committed Sep 8, 2022
1 parent 30a46db commit d716562
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,8 @@ private String getText(String fileName)
content = new String(buffer, 0, length);
//Wait until reading finishes
process.waitFor();
} catch (IOException e) {
Log.e("YOLESS", "IOException, " + e.getMessage());
} catch (InterruptedException e) {
Log.e("YOLESS", "InterruptedException, " + e.getMessage());
} catch (IOException | InterruptedException e) {
e.getMessage();
}

return content;
Expand Down

0 comments on commit d716562

Please sign in to comment.