summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command/work.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-06-15 08:06:28 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-06-15 08:06:28 +0200
commit84a3d282c13c26bd87c8fea3a5b5ffd52dd97887 (patch)
tree8fd50f39a4ec56a842754e2fcd3b644e9b4cb6bb /lib/Travelynx/Command/work.pm
parentf9664856c7b6e132bae62b35e944d3d95aca7898 (diff)
work,traewelling: consistent debug output if maintenance file is present
Diffstat (limited to 'lib/Travelynx/Command/work.pm')
-rw-r--r--lib/Travelynx/Command/work.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travelynx/Command/work.pm b/lib/Travelynx/Command/work.pm
index b80b0a4..65fddc3 100644
--- a/lib/Travelynx/Command/work.pm
+++ b/lib/Travelynx/Command/work.pm
@@ -22,7 +22,7 @@ sub run {
my $json = JSON->new;
if ( -e 'maintenance' ) {
- $self->app->log->debug('maintenance mode, quitting ');
+ $self->app->log->debug('work: "maintenance" file found, aborting');
return;
}
@@ -38,7 +38,7 @@ sub run {
for my $entry ( $self->app->in_transit->get_all_active ) {
if ( -e 'maintenance' ) {
- $self->app->log->debug('maintenance mode, quitting ');
+ $self->app->log->debug('work: "maintenance" file found, aborting');
return;
}