Skip to content

Commit

Permalink
add concise message when SaveException happen (#6444)
Browse files Browse the repository at this point in the history
* fix #6127

add concise tips when SaveException happend

* Update SaveDatabaseAction.java

add space...
  • Loading branch information
chenyuheng authored May 8, 2020
1 parent 942ba20 commit dd13184
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ private boolean saveDatabase(Path file, boolean selectedOnly, Charset encoding,
} catch (UnsupportedCharsetException ex) {
throw new SaveException(Localization.lang("Character encoding '%0' is not supported.", encoding.displayName()), ex);
} catch (IOException ex) {
throw new SaveException("Problems saving:", ex);
throw new SaveException("Problems saving: " + ex, ex);
}

return true;
Expand Down

0 comments on commit dd13184

Please sign in to comment.