Update JenisLogController.java
Clean code
This commit is contained in:
parent
7c24ab5bc1
commit
6ec433d135
@ -40,7 +40,7 @@ public class JenisLogController {
|
|||||||
jenisLogService.save(vos);
|
jenisLogService.save(vos);
|
||||||
return RestUtil.getJsonResponse(CREATED.getReasonPhrase(), CREATED);
|
return RestUtil.getJsonResponse(CREATED.getReasonPhrase(), CREATED);
|
||||||
} catch (ServiceVOException e) {
|
} catch (ServiceVOException e) {
|
||||||
LOGGER.error("Got exception {} when add Agama", e.getMessage());
|
LOGGER.error("Got exception {} when add jenis log", e.getMessage());
|
||||||
return RestUtil.getJsonHttptatus(INTERNAL_SERVER_ERROR);
|
return RestUtil.getJsonHttptatus(INTERNAL_SERVER_ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user