added try statement
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import asyncio
|
||||
import logging
|
||||
from pathlib import Path
|
||||
from typing import List
|
||||
|
||||
@@ -45,6 +46,7 @@ def ad(base_config: AppDaemonConfig):
|
||||
loop = asyncio.new_event_loop()
|
||||
|
||||
ad = AppDaemon(Logging(), loop, base_config)
|
||||
logging.getLogger('AppDaemon').propagate = True
|
||||
yield ad
|
||||
ad.stop()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user