diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-01-30 09:32:24 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-01-30 09:32:24 +0100 |
commit | f223e10169b5b5bb57a270f7d6631d8ffb62050b (patch) | |
tree | 534db5626b070d906ee70cf32232bde82cd960e9 /lib/Travel/Status | |
parent | fb5d3e665bc06b6ff8282c5d798074bafd2595e8 (diff) |
get_with_cache_p: Fix typo in error handler
Diffstat (limited to 'lib/Travel/Status')
-rw-r--r-- | lib/Travel/Status/DE/IRIS.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm index 219de12..1be5808 100644 --- a/lib/Travel/Status/DE/IRIS.pm +++ b/lib/Travel/Status/DE/IRIS.pm @@ -337,7 +337,7 @@ sub get_with_cache_p { my ($tx) = @_; if ( my $err = $tx->error ) { $promise->reject( - "GET $url returned HTTP $err->{code} $err->{messag}"); + "GET $url returned HTTP $err->{code} $err->{message}"); return; } my $content = $tx->res->body; |