create comment working

This commit is contained in:
isUnknown 2024-12-19 16:07:01 +01:00
parent 94ae220174
commit bc0ae8861f
3 changed files with 3 additions and 125 deletions

View file

@ -58,9 +58,7 @@ return [
try {
$user->sendNotification($project, $commentData);
} catch (\Throwable $th) {
echo json_encode([
"error" => $th->getMessage() . " in " . $th->getFile() . " line " . $th->getLine(),
]);
throw new Exception($th->getMessage(), 1);
}
exit;