diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-11-20 17:17:13 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-11-20 17:17:13 +0100 |
commit | a36801c967c790ed10d7d074af12f9832a42aa50 (patch) | |
tree | 47b049254dc569907f64ab5acee91291bb0ba23a /lib/DBInfoscreen/Helper/EFA.pm | |
parent | 7477ab8a571f72f0af08530d4414e1811bd4c0c8 (diff) |
perltidy
Diffstat (limited to 'lib/DBInfoscreen/Helper/EFA.pm')
-rw-r--r-- | lib/DBInfoscreen/Helper/EFA.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/DBInfoscreen/Helper/EFA.pm b/lib/DBInfoscreen/Helper/EFA.pm index 41035d4..2a7416e 100644 --- a/lib/DBInfoscreen/Helper/EFA.pm +++ b/lib/DBInfoscreen/Helper/EFA.pm @@ -49,8 +49,7 @@ sub get_json_p { if ( my $err = $tx->error ) { $self->{log}->debug( -"efa->get_json_p($url): HTTP $err->{code} $err->{message}" - ); + "efa->get_json_p($url): HTTP $err->{code} $err->{message}"); $cache->freeze( $url, { error => $err->{message} } ); $promise->reject( "GET $url returned HTTP $err->{code} $err->{message}"); @@ -60,8 +59,7 @@ sub get_json_p { my $res = $tx->res->json; if ( not $res ) { - $self->{log} - ->debug("efa->get_json_p($url): empty response"); + $self->{log}->debug("efa->get_json_p($url): empty response"); $promise->reject("GET $url returned empty response"); return; } |