error handling update pembayaran

parent a7a928d1
...@@ -360,6 +360,8 @@ public function updatePembayaran(Request $request, $va) ...@@ -360,6 +360,8 @@ public function updatePembayaran(Request $request, $va)
], 200); ], 200);
} }
catch(Exception $ex){ catch(Exception $ex){
Log::error($ex);
return response([ return response([
'status' => 404, 'status' => 404,
'message' => 'gagal mengupdate data' 'message' => 'gagal mengupdate data'
......
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