Commit bf70df43 authored by Ghitha Dinan's avatar Ghitha Dinan

exception fixing

parent 20147fd3
......@@ -80,6 +80,7 @@ class CustomExceptionHandler : ResponseEntityExceptionHandler() {
@ExceptionHandler(RuntimeException::class)
fun handleRuntimeException(ex: Exception, request: WebRequest?): ResponseEntity<Any?>? {
ex.printStackTrace()
val response = ReturnData()
response.success = false
response.message = "Terjadi kesalahan sistem. Silahkan ulangi beberapa saat lagi"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment