create comment working
This commit is contained in:
parent
94ae220174
commit
bc0ae8861f
3 changed files with 3 additions and 125 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue