cari error git
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 4m22s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 17s
Build, Push and Deploy / deploy-staging (push) Successful in 42s
Build, Push and Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-05-12 08:28:50 +07:00
parent b61a076fa6
commit f80fcc4c1b

View File

@@ -98,7 +98,7 @@ public function store(Request $request)
'email' => $request->email
]);
return response()->json([
'message' => 'Something went wrong. Please contact the admin.',
'message' => config('app.debug') ? $th->getMessage() : 'Something went wrong. Please contact the admin.',
], 403);
}
}
@@ -279,7 +279,7 @@ public function businessSetup(Request $request)
} catch (\Throwable $th) {
DB::rollBack();
return response()->json([
'message' => 'Something went wrong. Please contact the admin.',
'message' => config('app.debug') ? $th->getMessage() : 'Something went wrong. Please contact the admin.',
'error' => $th->getMessage(),
], 403);
}