minor update

This commit is contained in:
Miroslav Stampar 2010-09-27 13:41:18 +00:00
parent cf17debf79
commit c6bf0e43af
3 changed files with 7 additions and 7 deletions

View File

@ -286,7 +286,7 @@ def start():
e += ", skipping to next url"
logger.error(e)
else:
logger.error(e)
logger.critical(e)
return False
if conf.loggedToOut:

View File

@ -135,7 +135,7 @@ class Google:
except socket.timeout:
warnMsg = "connection timed out while trying "
warnMsg += "to get error page information (%d)" % e.code
logger.warn(warnMsg)
logger.critical(warnMsg)
return None
except (urllib2.URLError, socket.error, socket.timeout), _:
errMsg = "unable to connect to Google"

View File

@ -95,7 +95,7 @@ def main():
start()
except exceptionsTuple, e:
e = getUnicode(e)
logger.error(e)
logger.critical(e)
closeDumper(False, e)
except KeyboardInterrupt, _: