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