Skip to content

Commit

Permalink
Revert "add return null if commandexception"
Browse files Browse the repository at this point in the history
This reverts commit aa7ecee.
  • Loading branch information
qqmyers committed Nov 10, 2023
1 parent 00a1707 commit d3fbee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/edu/harvard/iq/dataverse/GuestbookPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public String save() {
logger.info("Guestbook Page Command Exception. Dataverse: " + dataverse.getName());
logger.info(ex.toString());
FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_FATAL, BundleUtil.getStringFromBundle("guestbook.save.fail"), " - " + ex.toString()));
return null;
//logger.severe(ex.getMessage());
}
editMode = null;
String msg = (create)? BundleUtil.getStringFromBundle("guestbook.create"): BundleUtil.getStringFromBundle("guestbook.save");
Expand Down

0 comments on commit d3fbee5

Please sign in to comment.