rename error
This commit is contained in:
parent
b1565cf440
commit
d2dd659320
@ -64,7 +64,7 @@ class CommunityHandler implements HttpHandler {
|
||||
try {
|
||||
submissions = this.api.getSub(pathArray[4]);
|
||||
} catch (RedditParseException | RedditOAuthException e) {
|
||||
responseJSON.put("error", "invalid subreddit");
|
||||
responseJSON.put("error", "reddit api error");
|
||||
sendResponse(t, responseJSON.toString());
|
||||
e.printStackTrace();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user