From 55451b78f40fe7230fa877a48ae5c2ac7a659069 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Mon, 4 Sep 2023 17:05:50 +0200 Subject: work: 'did not find $dep' is not actionable → change severity to debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/Travelynx/Command/work.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Travelynx/Command/work.pm b/lib/Travelynx/Command/work.pm index ac4416d..71faa3a 100644 --- a/lib/Travelynx/Command/work.pm +++ b/lib/Travelynx/Command/work.pm @@ -55,8 +55,8 @@ sub run { } } if ( not $found_dep ) { - return Mojo::Promise->reject( - "Did not find $dep within journey $train_id"); + $self->app->log->debug("Did not find $dep within journey $train_id"); + return; } if ( $found_dep->{rt_dep} ) { @@ -122,7 +122,7 @@ sub run { @{ $status->{results} }; if ( not $train ) { - $self->app->log->info( + $self->app->log->debug( "could not find train $train_id at $dep\n"); return; } -- cgit v1.2.3