summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-01-30 09:32:24 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-01-30 09:32:24 +0100
commitf223e10169b5b5bb57a270f7d6631d8ffb62050b (patch)
tree534db5626b070d906ee70cf32232bde82cd960e9 /lib
parentfb5d3e665bc06b6ff8282c5d798074bafd2595e8 (diff)
get_with_cache_p: Fix typo in error handler
Diffstat (limited to 'lib')
-rw-r--r--lib/Travel/Status/DE/IRIS.pm2
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;