update mysql plugin: add init_db.sql and create table automatically

This commit is contained in:
Jan Speller 2021-02-28 13:58:29 +01:00
parent 9d73be593f
commit 90d932d53c
3 changed files with 57 additions and 10 deletions

View file

@ -93,8 +93,8 @@ class RouterManager:
logging.error("unknown type '%s' in %s", routeType, route)
return False
except ModuleNotFoundError as e:
logging.error("%s not found: %s (%s)", route.get("type"), route.get("res"), str(e))
except ModuleNotFoundError:
logging.exception("%s not found: %s", route.get("type"), route.get("res"))
return False
logging.debug("finished building routers")