refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
This commit is contained in:
33
resources/views/errors/500.blade.php
Normal file
33
resources/views/errors/500.blade.php
Normal file
@@ -0,0 +1,33 @@
|
||||
@extends('errors::layout')
|
||||
|
||||
@section('title', trans('app.error_title'))
|
||||
|
||||
@section('message', trans('app.error_title'))
|
||||
|
||||
@section('content')
|
||||
@if(isset($exception) && $exception->getMessage())
|
||||
<p class="message">{{ $exception->getMessage() }}</p>
|
||||
@endif
|
||||
|
||||
@if(Auth::check() && app()->bound('sentry') && config('monica.sentry_support') && ! empty(app('sentry')->getLastEventID()))
|
||||
<div class="subtitle">@lang('app.error_id', ['id' => app('sentry')->getLastEventID()])</div>
|
||||
|
||||
<script
|
||||
src="https://browser.sentry-cdn.com/5.27.4/bundle.min.js"
|
||||
integrity="sha384-yUnxX3o5D7+yEEIKDXlpygg+0Q2LdyklXwZVWUjc6fohGisYvhpyQbRvNYaDGtvU"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<script>
|
||||
Sentry.init({ dsn: '{{ config('sentry.dsn') }}' });
|
||||
Sentry.showReportDialog({
|
||||
eventId: '{{ app('sentry')->getLastEventID() }}',
|
||||
user: {
|
||||
name: '{{ auth()->user()->name }}',
|
||||
email: '{{ auth()->user()->email }}',
|
||||
},
|
||||
});
|
||||
</script>
|
||||
@endif
|
||||
|
||||
<p><a href="">{{ trans('auth.back_homepage') }}</a></p>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user