mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-21 22:48:16 +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'])
|
result.append(entry['MESSAGE'])
|
||||||
logging.error(result)
|
logging.error(result)
|
||||||
|
|
||||||
|
with open(fullname, 'w') as f:
|
||||||
|
f.write(result)
|
||||||
|
|
||||||
plugins = await self.plugins_list()
|
plugins = await self.plugins_list()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue