Browse Source

added url to error message

= 2 years ago
parent
commit
aac28c30ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Exceptions/Handler.php

+ 1 - 1
app/Exceptions/Handler.php

@@ -51,7 +51,7 @@ class Handler extends ExceptionHandler
                 Http::asForm()
                     ->withHeaders($headers)
                     ->post($url, [
-                        'data'=>'LHR: '.$e->getMessage(),
+                        'data'=>'LHR: '.$e->getMessage().' URL: '.url()->current(),
                         'secret' => 'superman'
                     ])
                     ->json();