Actually fixed exception logging
This commit is contained in:
parent
41f3b96e3a
commit
efac711da9
1 changed files with 1 additions and 1 deletions
|
|
@ -195,5 +195,5 @@ if __name__ == "__main__":
|
||||||
logging.getLogger("labthings.server.wsgi.handler").propagate = False
|
logging.getLogger("labthings.server.wsgi.handler").propagate = False
|
||||||
|
|
||||||
logging.info("Starting OpenFlexure Microscope Server...")
|
logging.info("Starting OpenFlexure Microscope Server...")
|
||||||
server = Server(app, log=afh, error_log=None)
|
server = Server(app, log=afh, error_log=logger)
|
||||||
server.run(host="::", port=5000, debug=False, zeroconf=True)
|
server.run(host="::", port=5000, debug=False, zeroconf=True)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue