You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run function of class DatabaseServer, uses traceback & datetime but not imported in the beginning.
the exception block hits only if database server starting fails, and if this is not fixed the re-try of starting database server will not be executed.
Adding below helps:
import traceback
import datetime
run function:(datetime.datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ')))
try:
self.server.serve_forever()
except:
traceback.print_exc()
logging.error('HTTPServer %s at %s died on %s, restarting...',
self.name, self.address,
datetime.datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ'))
logging.info('Shutting down Database Server:%s at %s', self.name,
self.address)
Regards,
Chandana
The text was updated successfully, but these errors were encountered:
run function of class DatabaseServer, uses traceback & datetime but not imported in the beginning.
the exception block hits only if database server starting fails, and if this is not fixed the re-try of starting database server will not be executed.
Adding below helps:
run function:(datetime.datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ')))
Regards,
Chandana
The text was updated successfully, but these errors were encountered: