Skip to content

Commit

Permalink
Log history file optional failures as WARN
Browse files Browse the repository at this point in the history
  • Loading branch information
jdillon authored and gnodet committed May 12, 2017
1 parent b80e29c commit 871b1e4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void load() {
}
}
} catch (Exception e) {
Log.info("Error reloading history file: ", path, e);
Log.warn("Error reloading history file: ", path, e);
internalClear();
}
}
Expand Down Expand Up @@ -124,7 +124,7 @@ public void save() {
trimHistory(path, max);
}
} catch (IOException e) {
Log.debug("Error saving history file: ", path, e);
Log.warn("Error saving history file: ", path, e);
}
}
loaded = items.size();
Expand Down Expand Up @@ -159,7 +159,7 @@ protected void trimHistory(Path path, int max) {
loaded = items.size();
maybeResize();
} catch (IOException e) {
Log.debug("Error trimming history file: ", path, e);
Log.warn("Error trimming history file: ", path, e);
}
}

Expand Down

0 comments on commit 871b1e4

Please # to comment.