diff --git a/bundle/src/Comms/Ping/PingCommand.php b/bundle/src/Comms/Ping/PingCommand.php index 9f92a25..25c41cc 100644 --- a/bundle/src/Comms/Ping/PingCommand.php +++ b/bundle/src/Comms/Ping/PingCommand.php @@ -64,7 +64,9 @@ public function __invoke( try { $this->comms->send(new PingEvent(), $c); $success = true; - } catch (CommsApiFailedException $e) {} + } catch (CommsApiFailedException $e) { + $output->writeln('Error pinging ' . $c->value . ': ' . $e->getMessage() . ''); + } $end = microtime(true); $latency = round(($end - $start) * 1000);