<div class="content">
    <div class="title">Something went wrong.</div>

    @if(app()->bound('sentry') && !empty(Sentry::getLastEventID()))
        <div class="subtitle">Error ID: {{ Sentry::getLastEventID() }}</div>

        <!-- Sentry JS SDK 2.1.+ required -->
        <script src="https://cdn.ravenjs.com/3.3.0/raven.min.js"></script>

        <script>
            Raven.showReportDialog({
                eventId: '{{ Sentry::getLastEventID() }}',
                // use the public DSN (dont include your secret!)
                dsn: 'https://d90e5d35b0244d46a6bfc8f0bad2c58f@sentry.io/1327033',
                user: {
                    'name': 'Ivan Sotelo',
                    'email': 'isotelo@controlla.com.mx',
                }
            });
        </script>
    @endif
</div>
