Skip to content

Commit

Permalink
android: show alternative to misleading error log
Browse files Browse the repository at this point in the history
An error level message was being shown on logcat on non native modules
scenarios, which was misleading. Shows a debug level message instead.
  • Loading branch information
jaimecbernardo committed Aug 27, 2018
1 parent ff308a6 commit 2ccc542
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,8 @@ private ArrayList<String> readFileFromAssets(String filename){
line = reader.readLine();
}
reader.close();
} catch (FileNotFoundException e) {
Log.d(TAG, "File not found: " + filename);
} catch (IOException e) {
lines = new ArrayList();
e.printStackTrace();
Expand Down

0 comments on commit 2ccc542

Please sign in to comment.