From f223e10169b5b5bb57a270f7d6631d8ffb62050b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 30 Jan 2022 09:32:24 +0100 Subject: get_with_cache_p: Fix typo in error handler --- lib/Travel/Status/DE/IRIS.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Travel') 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; -- cgit v1.2.3