From 154db9a416629de9a000fc179d29e889a26817f4 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 9 Apr 2020 22:20:05 -0700 Subject: [PATCH] This literally never fucking worked. Ever. Shoot me. --- app/Models/Loggable.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/Loggable.php b/app/Models/Loggable.php index 37de7925e7..71a4e298c1 100644 --- a/app/Models/Loggable.php +++ b/app/Models/Loggable.php @@ -45,12 +45,12 @@ trait Loggable $log->user_id = Auth::user()->id; if (!isset($target)) { - throw new Exception('All checkout logs require a target.'); + throw new \Exception('All checkout logs require a target.'); return; } if (!isset($target->id)) { - throw new Exception('That target seems invalid (no target ID available).'); + throw new \Exception('That target seems invalid (no target ID available).'); return; }