fix: boarding

fix: error handling
fix: restarting state
This commit is contained in:
Andras Bacsai
2023-09-15 15:34:25 +02:00
parent fcf7c5ddd5
commit da4c2ee60f
71 changed files with 326 additions and 290 deletions

View File

@@ -43,7 +43,7 @@ Route::get('/source/github/redirect', function () {
$github_app->save();
return redirect()->route('source.github.show', ['github_app_uuid' => $github_app->uuid]);
} catch (Exception $e) {
return general_error_handler(err: $e);
return handleError($e);
}
});
@@ -59,7 +59,7 @@ Route::get('/source/github/install', function () {
}
return redirect()->route('source.github.show', ['github_app_uuid' => $github_app->uuid]);
} catch (Exception $e) {
return general_error_handler(err: $e);
return handleError($e);
}
});
Route::post('/source/github/events', function () {
@@ -179,7 +179,7 @@ Route::post('/source/github/events', function () {
}
} catch (Exception $e) {
ray($e->getMessage());
return general_error_handler(err: $e);
return handleError($e);
}
});
Route::get('/waitlist/confirm', function () {