diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-09-20 10:01:03 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-09-20 10:01:03 +0200 |
commit | e27e37190e549cac1e964ba3dbb5f7bea585fd19 (patch) | |
tree | c5b05097a1864a4cc93292eeb23c8ea219051f71 /lib | |
parent | 2788f97f32a8d0eb2ee330f37ebd91b36d087e0f (diff) |
add explicit empty return statements to promise handlers1.17.3
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Travelynx.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index f621139..4f58f57 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -962,6 +962,7 @@ sub startup { if ($callback) { &$callback(); } + return; } )->catch( sub { @@ -970,6 +971,7 @@ sub startup { if ($callback) { &$callback(); } + return; } )->wait; } @@ -1400,11 +1402,13 @@ sub startup { }, { user_id => $uid } ); + return; } )->catch( sub { my ($err) = @_; $self->app->log->warn("add_route_timestamps: $err"); + return; } )->wait; @@ -1487,6 +1491,7 @@ sub startup { { user_id => $uid } ); } + return; } )->catch( sub { @@ -1513,6 +1518,7 @@ sub startup { { data => JSON->new->encode($data) }, { user_id => $uid } ); + return; } )->catch( sub { @@ -1539,6 +1545,7 @@ sub startup { { data => JSON->new->encode($data) }, { user_id => $uid } ); + return; } )->catch( sub { |