summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 0dc0f92..9958b7e 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -488,7 +488,7 @@ sub startup {
}
)->catch(
sub {
- my ($status) = @_;
+ my ( $err, $status ) = @_;
$promise->reject( $status->{errstr} );
return;
}
@@ -2009,7 +2009,7 @@ sub startup {
}
)->catch(
sub {
- my ($dep) = @_;
+ my ( $err, $dep ) = @_;
$self->traewelling->log(
uid => $uid,
message =>