Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add debug output
Signed-off-by: Carl Schwan <[email protected]>
  • Loading branch information
CarlSchwan committed Mar 28, 2022
commit c1c41c7a41705e86506a45086f221464f0286335
2 changes: 2 additions & 0 deletions lib/Db/CircleRequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ public function getItemFromRequest(CoreQueryBuilder $qb): Circle {
$circle = $qb->asItem(Circle::class);
} catch (RowNotFoundException $e) {
throw new CircleNotFoundException('Circle not found');
} catch (\Exception $e) {
throw new \Exception($qb->getSQL());
}

return $circle;
Expand Down