update error
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 4m50s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 41s
Build, Push and Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-05-06 09:49:01 +07:00
parent 28510f1163
commit 0cb58d3419
7 changed files with 28 additions and 24 deletions

View File

@@ -93,6 +93,10 @@ public function store(Request $request)
]);
} catch (\Throwable $th) {
DB::rollBack();
\Log::error('Registration Error: ' . $th->getMessage(), [
'exception' => $th,
'email' => $request->email
]);
return response()->json([
'message' => 'Something went wrong. Please contact the admin.',
], 403);