mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Maximum Execution Time Exceeded show error (#11720)
* Maximum Execution Time Exceeded show error Migrate translations to php translation files. Fix invalid view class in Handler * Update MaximumExecutionTimeExceeded.php * Update MaximumExecutionTimeExceeded.php
This commit is contained in:
@@ -32,6 +32,7 @@ class Handler extends ExceptionHandler
|
||||
\LibreNMS\Exceptions\DatabaseConnectException::class,
|
||||
\LibreNMS\Exceptions\DuskUnsafeException::class,
|
||||
\LibreNMS\Exceptions\UnserializableRouteCache::class,
|
||||
\LibreNMS\Exceptions\MaximumExecutionTimeExceeded::class,
|
||||
];
|
||||
|
||||
public function render($request, Exception $exception)
|
||||
@@ -39,7 +40,7 @@ class Handler extends ExceptionHandler
|
||||
// If for some reason Blade hasn't been registered, try it now
|
||||
try {
|
||||
if (!app()->bound('view')) {
|
||||
app()->register(\App\Providers\ViewServiceProvider::class);
|
||||
app()->register(\Illuminate\View\ViewServiceProvider::class);
|
||||
app()->register(\Illuminate\Translation\TranslationServiceProvider::class);
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
|
Reference in New Issue
Block a user