Skip to content
Snippets Groups Projects
Commit 25c7d480 authored by Mirco Nasuti's avatar Mirco Nasuti
Browse files

Merge branch 'master' of github.com:LREN-CHUV/portal-backend

parents 2cd25a2e b97fc7b3
No related branches found
No related tags found
No related merge requests found
......@@ -322,7 +322,7 @@ public class ExperimentApi {
try {
StringBuilder results = new StringBuilder();
int code = HTTPUtil.sendPost(url, query, results);
experiment.setResult(results.toString());
experiment.setResult("[" + results.toString() + "]");
experiment.setHasError(code >= 400);
experiment.setHasServerError(code >= 500);
} catch (IOException e) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment