summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/DBInfoscreen/Helper/HAFAS.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Helper/HAFAS.pm b/lib/DBInfoscreen/Helper/HAFAS.pm
index 300eda7..faf7848 100644
--- a/lib/DBInfoscreen/Helper/HAFAS.pm
+++ b/lib/DBInfoscreen/Helper/HAFAS.pm
@@ -113,8 +113,8 @@ sub get_xml_p {
eval { $tree = XML::LibXML->load_xml( string => $body ) };
if ($@) {
+ $self->{log}->debug("hafas->get_xml_p($url): $@");
$cache->freeze( $url, {} );
- $self->{log}->debug("hafas->get_xml_p($url): Parse Error: $@");
$promise->reject;
return;
}