Add error logging to install process :: db marker utilities

This commit is contained in:
gdarko
2024-02-11 13:55:32 +01:00
parent c7c70dd3ef
commit 020a0741de
2 changed files with 22 additions and 10 deletions

View File

@@ -11,11 +11,13 @@ class FinishController extends Controller
/**
* Handle the incoming request.
*
* @return \Illuminate\Http\Response
* @return \Illuminate\Http\JsonResponse
*/
public function __invoke(Request $request)
{
InstallUtils::createDbMarker();
if(!InstallUtils::createDbMarker()) {
\Log::error('Install: Unable to create db marker.');
}
return response()->json(['success' => true]);
}