Log the full stacktrace when a ValidationException happens while saving a project

This will ease the debugging of some bugs in the future.
This commit is contained in:
Manuel Rego Casasnovas 2013-03-20 13:25:01 +01:00
parent cd17d48d28
commit a062bc05ce

View file

@ -337,7 +337,7 @@ public class SaveCommandBuilder {
message += validationException.getMessage();
}
LOG.warn(validationException.getMessage());
LOG.warn("Error saving the project", validationException);
Messagebox.show(
_("Error saving the project\n{0}", message),
_("Error"), Messagebox.OK, Messagebox.ERROR);