~xdavidwu/uptime-monitor

15fffe8aae80fc31c01edf7ee148b26fd3bd8bc5 — xdavidwu 1 year, 4 months ago 62d4b8a
cli: monitor:probe: fix tries left count in log
1 files changed, 2 insertions(+), 1 deletions(-)

M app/Console/Commands/MonitorProbe.php
M app/Console/Commands/MonitorProbe.php => app/Console/Commands/MonitorProbe.php +2 -1
@@ 50,7 50,8 @@ class MonitorProbe extends Command
                    $success = true;
                    break;
                } catch (Exception $e) {
                    $this->error("{$probe->describe()} failed, $i tries left");
                    $left = $i - 1;
                    $this->error("{$probe->describe()} failed, {$left} tries left");
                    $this->info($e->getMessage());
                    $lastlog = $e->getMessage();
                }