Small UX update and added better logging for crashes

This commit is contained in:
janis
2022-06-23 14:02:30 +02:00
parent edb48415f7
commit b60ab5d1e8
2 changed files with 6 additions and 5 deletions

View File

@@ -18,14 +18,14 @@ RootScreen:
text_size: self.width, None text_size: self.width, None
GridLayout: GridLayout:
cols: 2 cols: 2
Button:
text: "ok"
on_release:
root.dismiss()
Button: Button:
text: "Don't show anymore" text: "Don't show anymore"
on_release: on_release:
root.notshowanymore() root.notshowanymore()
Button:
text: "ok"
on_release:
root.dismiss()
<QuitPU>: <QuitPU>:
title: "BiogasControllerApp" title: "BiogasControllerApp"
font_size: 50 font_size: 50

View File

@@ -888,5 +888,6 @@ try:
if __name__ == "__main__": if __name__ == "__main__":
bga = BiogasControllerApp() bga = BiogasControllerApp()
bga.run() bga.run()
except Exception as e: except Exception as e:
logger.critical(e) logger.critical(e, exc_info=True)