Skip to content

Commit

Permalink
Added a log that will help clarify the failure
Browse files Browse the repository at this point in the history
  • Loading branch information
shai-almog authored Oct 13, 2022
1 parent 93b78fb commit 354cc5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CodenameOne/src/com/codename1/io/Storage.java
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ public Object readObject(String name) {
cache.put(name, o);
return o;
} catch(Throwable err) {
Log.p("Error while reading: " + name);
Log.e(err);
if(Log.isCrashBound()) {
Log.sendLog();
Expand Down

0 comments on commit 354cc5b

Please sign in to comment.