Mercurial > lada > lada-server
changeset 74:28c6a57a8f90
Errorcodes must be returned as string
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 05 Jun 2013 17:36:47 +0200 |
parents | 354deea8e738 |
children | b43b76fc0525 |
files | src/main/java/de/intevation/lada/rest/LProbeService.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/rest/LProbeService.java Wed Jun 05 16:53:35 2013 +0200 +++ b/src/main/java/de/intevation/lada/rest/LProbeService.java Wed Jun 05 17:36:47 2013 +0200 @@ -111,7 +111,7 @@ if(success) { return "{" + "success: true, " + - "message: " + generalError + ", " + + "message: \"" + generalError + "\", " + "errors: {" + createErrorFields() + "}, " + "warnings: {" + createWarningFields() + "}" + "}"; @@ -119,7 +119,7 @@ else { return "{" + "success: false, " + - "message: " + generalError + ", " + + "message: \"" + generalError + "\", " + "errors: {" + createErrorFields() + "}, " + "warnings: {" + createWarningFields() + "}" + "}";