Merge pull request #294 from timrichardson/issue/1773
replace write to stderr with LOGGER in failed database connection attemp...
This commit is contained in:
@@ -7770,7 +7770,7 @@ class DAL(object):
|
||||
raise
|
||||
except Exception:
|
||||
tb = traceback.format_exc()
|
||||
sys.stderr.write('DEBUG: connect attempt %i, connection error:\n%s' % (k, tb))
|
||||
LOGGER.debug('DEBUG: connect attempt %i, connection error:\n%s' % (k, tb))
|
||||
if connected:
|
||||
break
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user