Mercurial > hg > LGServices
comparison src/main/java/de/mpiwg/gazetteer/rest/SaveText.java @ 79:9fbdc98f81c6
Bug fix : comment out testing code for front end error handling.
author | Calvin Yeh <cyeh@mpiwg-berlin.mpg.de> |
---|---|
date | Wed, 03 May 2017 19:54:48 +0200 |
parents | f106f2487ac1 |
children |
comparison
equal
deleted
inserted
replaced
78:141fa833d126 | 79:9fbdc98f81c6 |
---|---|
46 json.put("file", jsonFile); | 46 json.put("file", jsonFile); |
47 json.put("status", "ok"); | 47 json.put("status", "ok"); |
48 | 48 |
49 | 49 |
50 // TODO DEBUG just added for testing error case! | 50 // TODO DEBUG just added for testing error case! |
51 json.put("status", "error"); | 51 //json.put("status", "error"); |
52 | 52 |
53 | 53 |
54 } catch (GazetteerException e){ | 54 } catch (GazetteerException e){ |
55 json.put("status", "error"); | 55 json.put("status", "error"); |
56 json.put("message", e.getMessage()); | 56 json.put("message", e.getMessage()); |