Skip to Content.
Sympa Menu

idok-commit - [idok-commit] idok commit r233 - branches/rest/java/ch/idok/common/errorhandling

idok-commit AT lists.psi.ch

Subject: Commit emails of the iDok project

List archive

[idok-commit] idok commit r233 - branches/rest/java/ch/idok/common/errorhandling


Chronological Thread 
  • From: "AFS account Roman Geus" <geus AT savannah.psi.ch>
  • To: idok-commit AT lists.psi.ch
  • Subject: [idok-commit] idok commit r233 - branches/rest/java/ch/idok/common/errorhandling
  • Date: Wed, 24 Sep 2008 09:07:16 +0200
  • List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
  • List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>

Author: geus
Date: Wed Sep 24 09:07:16 2008
New Revision: 233

Log:
Improved formatting for stack traces

Modified:
branches/rest/java/ch/idok/common/errorhandling/Util.java

Modified: branches/rest/java/ch/idok/common/errorhandling/Util.java
==============================================================================
--- branches/rest/java/ch/idok/common/errorhandling/Util.java (original)
+++ branches/rest/java/ch/idok/common/errorhandling/Util.java Wed Sep 24
09:07:16 2008
@@ -45,9 +45,9 @@
if (userMessage != null) {
buf.append("User message: ");
buf.append(userMessage);
- buf.append('\n');
}
- if (detailedMessage != null) {
+ if (detailedMessage != null && detailedMessage.length() != 0) {
+ buf.append('\n');
buf.append("Detailed message: ");
buf.append(detailedMessage);
}



  • [idok-commit] idok commit r233 - branches/rest/java/ch/idok/common/errorhandling, AFS account Roman Geus, 09/24/2008

Archive powered by MHonArc 2.6.19.

Top of Page