Browse Source

ffstatus/__init__.py: use logging functions correctly

Helge Jung 10 years ago
parent
commit
f294cfda2a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ffstatus/__init__.py

+ 1 - 1
ffstatus/__init__.py

@@ -95,6 +95,6 @@ def resolve_ipblock(ipaddr):
         }
 
     except urllib2.URLError as err:
-        logger.error('Error querying API:', err)
+        logger.error('Error querying ip \'{0}\' from RIPE API: {1}'.format(ipaddr, err))
         return None