mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-06 06:43:54 +00:00
add some log messages
This commit is contained in:
parent
96aeb3b705
commit
495176457e
2 changed files with 5 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ args = parser.parse_args()
|
|||
|
||||
bwConfig = ConfigYAML()
|
||||
if not bwConfig.loadConfigFile(paths.CONFIG_PATH + args.config):
|
||||
logging.error("cannot load config file")
|
||||
logging.fatal("cannot load config file")
|
||||
exit(1)
|
||||
|
||||
# ############################# begin server system
|
||||
|
|
@ -71,7 +71,8 @@ try:
|
|||
|
||||
bwRoutMan = RouterManager()
|
||||
if not bwRoutMan.buildRouter(bwConfig):
|
||||
exit()
|
||||
logging.fatal("Error while building routers")
|
||||
exit(1)
|
||||
|
||||
bcServer = BroadcastServer()
|
||||
if bwConfig.get("server", "useBroadcast", default=False):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue