From 7d8c8bfcc3520f31862c5d991815327611ebfe49 Mon Sep 17 00:00:00 2001 From: Joshua Blum Date: Mon, 25 May 2026 15:57:24 +0200 Subject: [PATCH] Implement `ShouldntReport` contract --- src/Exceptions/ElevatedSessionAuthorizationException.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Exceptions/ElevatedSessionAuthorizationException.php b/src/Exceptions/ElevatedSessionAuthorizationException.php index e19637b88c..baca56fc4b 100644 --- a/src/Exceptions/ElevatedSessionAuthorizationException.php +++ b/src/Exceptions/ElevatedSessionAuthorizationException.php @@ -2,13 +2,14 @@ namespace Statamic\Exceptions; +use Illuminate\Contracts\Debug\ShouldntReport; use Illuminate\Http\Request; use Statamic\Facades\URL; use Statamic\Statamic; use function Statamic\trans as __; -class ElevatedSessionAuthorizationException extends \Exception +class ElevatedSessionAuthorizationException extends \Exception implements ShouldntReport { public function __construct() {