2 <div class="alert alert-danger" role="alert">
3 <strong><?= nl2br($this->e($exception->getMessage())) ?></strong>
4 (<?= $exception->getCode() ?>)<br>
5 <?php if ($exception instanceof \app\Github\Exception\TokenException) : ?>
6 You might want to try to <a href="<?= $baseUrl->mod("./github/signin") ?>">renew your token</a>!
8 <?php if ($exception instanceof \app\Github\Exception\StateException) : ?>
9 You might want to try to <a href="<?= $baseUrl->mod("./github/signin") ?>">try again</a>!
13 <?php if (APP_ENVIRONMENT != "production") : ?>
15 <pre style="display:block; overflow-x: scroll"><?= $this->e($exception) ?></pre>