Use logger for JSON exception
This commit is contained in:
parent
7f1cfd2db7
commit
68e0a899b8
@ -64,7 +64,7 @@ public class LoginCommand extends Command {
|
|||||||
writer.value(manager.getUsername());
|
writer.value(manager.getUsername());
|
||||||
writer.endObject();
|
writer.endObject();
|
||||||
} catch (JSONException e) {
|
} catch (JSONException e) {
|
||||||
e.printStackTrace();
|
logger.error(e.getMessage());
|
||||||
}
|
}
|
||||||
respond(response, sb.toString());
|
respond(response, sb.toString());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user