mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-12-22 13:34:55 +01:00
add write logfile
This commit is contained in:
parent
5d1c1eef2e
commit
e12d437ed0
1 changed files with 2 additions and 0 deletions
|
@ -159,6 +159,8 @@ class SystemController:
|
|||
result.append(entry['MESSAGE'])
|
||||
logging.error(result)
|
||||
|
||||
with open(fullname, 'w') as f:
|
||||
f.write(result)
|
||||
|
||||
plugins = await self.plugins_list()
|
||||
|
||||
|
|
Loading…
Reference in a new issue