Sfoglia il codice sorgente

added url to error message

= 2 anni fa
parent
commit
aac28c30ba
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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();