Skip to content

Commit

Permalink
Update Handler.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Feb 22, 2022
1 parent a5925f7 commit b12e1a4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/MicroweberPackages/App/Exceptions/Handler.php
Expand Up @@ -12,9 +12,9 @@ class Handler extends ExceptionHandler
*
* @var array
*/
// protected $dontReport = [
// //
// ];
protected $dontReport = [
\BadMethodCallException::class,
];

/**
* A list of the inputs that are never flashed for validation exceptions.
Expand Down Expand Up @@ -102,10 +102,10 @@ private function getMicroweberErrorBarHtml()
<a href="' . api_url('mw_post_update') . '?redirect_to='.url_current().'" class="btn">Reload database</a>
<a href="' . api_url('mw_reload_modules') . '?redirect_to='.url_current().'" class="btn">Reload modules</a>
<a href="' . api_url('clearcache') . '?redirect_to='.url_current().'" class="btn">Clear cache</a>
<a href="" class="btn">Refresh</a>
</div>
</div>
';
}
}
}

0 comments on commit b12e1a4

Please sign in to comment.