diff --git a/app/src/main/java/com/stormbird/augustcodereader/MainActivity.java b/app/src/main/java/com/stormbird/augustcodereader/MainActivity.java index 9ccd3ee..9c12050 100644 --- a/app/src/main/java/com/stormbird/augustcodereader/MainActivity.java +++ b/app/src/main/java/com/stormbird/augustcodereader/MainActivity.java @@ -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;