mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-10 12:24:50 +00:00
Don't throw error, report it.
This commit is contained in:
42
resources/views/errors/error.blade.php
Normal file
42
resources/views/errors/error.blade.php
Normal file
@@ -0,0 +1,42 @@
|
||||
@extends('layout.v2.error')
|
||||
@section('status_code','')
|
||||
@section('status','Error message')
|
||||
@section('sub_title', trans('errors.error_occurred'))
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<p>
|
||||
{{ trans('errors.error_not_recoverable') }}
|
||||
</p>
|
||||
<p class="text-danger">
|
||||
{{ $message }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<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>
|
||||
{!! trans('errors.github_instructions') !!}
|
||||
</p>
|
||||
<ol>
|
||||
<li>{{ trans('errors.use_search') }}</li>
|
||||
<li>{!! trans('errors.include_info', ['link' => route('debug') ]) !!}</li>
|
||||
<li>{{ trans('errors.tell_more') }}</li>
|
||||
<li>{{ trans('errors.include_logs') }}</li>
|
||||
<li>{{ trans('errors.what_did_you_do') }}</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user