diff options
Diffstat (limited to 'lib/Travel')
-rw-r--r-- | lib/Travel/Status/DE/IRIS.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm index e76e1f9..3c82aa7 100644 --- a/lib/Travel/Status/DE/IRIS.pm +++ b/lib/Travel/Status/DE/IRIS.pm @@ -135,7 +135,10 @@ sub get_with_cache { } } - say ' cache miss'; + if ( $self->{developer_mode} ) { + say ' cache miss'; + } + my $ua = $self->{user_agent}; my $res = $ua->get($url); |