chore: Minor code tweaks.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2022-05-28 09:05:53 +02:00
parent bf456ffd4b
commit 41fcc98da7

View File

@@ -26,6 +26,7 @@ namespace SP\Core\Bootstrap;
use Closure;
use Exception;
use Klein\Response;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
@@ -153,7 +154,7 @@ final class BootstrapWeb extends BootstrapBase
return call_user_func_array([$controller, $methodName], $methodParams);
} catch (SessionTimeout $sessionTimeout) {
logger('Session timeout');
} catch (\Exception $e) {
} catch (Exception $e) {
processException($e);
/** @var Response $response */