Files
firefly-iii/resources/views/errors/FireflyException.blade.php

65 lines
2.2 KiB
PHP
Raw Normal View History

2024-03-09 12:11:06 +01:00
@extends('layout.v2.error')
2024-03-09 13:03:02 +01:00
@section('status_code','500')
@section('status','Internal Server Error')
@section('sub_title', trans('errors.error_occurred'))
2024-03-09 12:11:06 +01:00
@section('content')
2024-03-09 12:11:18 +01:00
<div class="row">
<div class="col">
<p>
{{ trans('errors.error_not_recoverable') }}
</p>
<p class="text-danger">
{{ $exception->getMessage() ?? 'General unknown error' }}
</p>
<p>
{!! trans('errors.error_location', ['file' => $exception->getFile(), 'line' => $exception->getLine(), 'code' => $exception->getCode() ]) !!}
</p>
</div>
2022-01-29 14:20:56 +01:00
</div>
2024-03-09 12:11:18 +01:00
@if(!$debug)
2024-03-09 13:03:02 +01:00
<div class="row">
<div class="col">
<h4>
{{ trans('errors.more_info') }}
</h4>
<p>
{!! trans('errors.collect_info') !!}
{!! trans('errors.collect_info_more') !!}
</p>
<h4>
{{ trans('errors.github_help') }}
</h4>
<p>
2025-02-06 17:06:48 +01:00
{!! trans('errors.github_instructions') !!}
2024-03-09 13:03:02 +01:00
</p>
<ol>
<li>{{ trans('errors.use_search') }}</li>
2025-02-06 17:06:48 +01:00
<li>{!! trans('errors.include_info', ['link' => route('debug') ]) !!}</li>
2024-03-09 13:03:02 +01:00
<li>{{ trans('errors.tell_more') }}</li>
<li>{{ trans('errors.include_logs') }}</li>
<li>{{ trans('errors.what_did_you_do') }}</li>
</ol>
</div>
2020-06-14 19:17:45 +02:00
</div>
2024-03-09 12:11:18 +01:00
@endif
@if($debug)
<div class="row">
2024-03-09 13:03:02 +01:00
<div class="col">
2024-03-09 12:11:18 +01:00
<h4>{{ trans('errors.error') }}</h4>
<p>
{!! trans('errors.error_location', ['file' => $exception->getFile(), 'line' => $exception->getLine(), 'code' => $exception->getCode() ]) !!}
</p>
<h4>
{{ trans('errors.stacktrace') }}
</h4>
<div style="font-family: monospace;font-size:11px;">
{!! nl2br($exception->getTraceAsString()) !!}
</div>
2020-06-14 19:17:45 +02:00
</div>
</div>
2024-03-09 12:11:18 +01:00
@endif
@endsection
2020-06-14 19:17:45 +02:00