aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Geocode/Zurich.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/Geocode/Zurich.pm')
-rw-r--r--perllib/FixMyStreet/Geocode/Zurich.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Geocode/Zurich.pm b/perllib/FixMyStreet/Geocode/Zurich.pm
index 0fc84c0ef..7ba3d27ad 100644
--- a/perllib/FixMyStreet/Geocode/Zurich.pm
+++ b/perllib/FixMyStreet/Geocode/Zurich.pm
@@ -76,6 +76,7 @@ sub string {
$result = $soap->call($method, $security, $search, $count);
};
if ($@) {
+ warn $@ if FixMyStreet->config('STAGING_SITE');
return { error => 'The geocoder appears to be down.' };
}
$result = $result->result;