diff --git a/src/Api/InterfaceControllerProvider.php b/src/Api/InterfaceControllerProvider.php index 69f8d01..2b0237e 100644 --- a/src/Api/InterfaceControllerProvider.php +++ b/src/Api/InterfaceControllerProvider.php @@ -170,8 +170,9 @@ class InterfaceControllerProvider implements ControllerProviderInterface try{ Websockets::triggerUpdate('game'); }catch(\Throwable $e) { - // nothing + return false; } + return true; }); // /interface/images $controllers->get('/trigger/images', function (Application $app) { @@ -179,8 +180,9 @@ class InterfaceControllerProvider implements ControllerProviderInterface try{ Websockets::triggerUpdate('images'); }catch(\Throwable $e) { - // nothing + return false; } + return true; }); return $controllers;