mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Added a "error info copy & paste" text box on the 500 error page
This commit is contained in:
@@ -15,6 +15,26 @@
|
||||
<h4>{{ $__t('Stack trace') }}</h4>
|
||||
<pre class="my-0"><code>{!! $exception->getTraceAsString() !!}</code></pre>
|
||||
</div>
|
||||
<div class="alert alert-dark py-1">
|
||||
<h4>{{ $__t('Easy error info copy & paste (for reporting)') }}</h4>
|
||||
<textarea class="form-control easy-link-copy-textbox text-monospace mt-1"
|
||||
rows="20">
|
||||
Error source:
|
||||
```
|
||||
{!! $exception->getFile() !!}:{!! $exception->getLine() !!}
|
||||
```
|
||||
|
||||
Error message:
|
||||
```
|
||||
{!! $exception->getMessage() !!}
|
||||
```
|
||||
|
||||
Stack trace:
|
||||
```
|
||||
{!! $exception->getTraceAsString() !!}
|
||||
```
|
||||
</textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
|
Reference in New Issue
Block a user