From b60ab5d1e864d2585427514d5d0d6abf801c323d Mon Sep 17 00:00:00 2001 From: janis Date: Thu, 23 Jun 2022 14:02:30 +0200 Subject: [PATCH] Small UX update and added better logging for crashes --- BiogasControllerApp-V2.3/bin/gui/gui.kv | 8 ++++---- BiogasControllerApp-V2.3/biogascontrollerapp.py | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/BiogasControllerApp-V2.3/bin/gui/gui.kv b/BiogasControllerApp-V2.3/bin/gui/gui.kv index c049319..c567359 100644 --- a/BiogasControllerApp-V2.3/bin/gui/gui.kv +++ b/BiogasControllerApp-V2.3/bin/gui/gui.kv @@ -18,14 +18,14 @@ RootScreen: text_size: self.width, None GridLayout: cols: 2 - Button: - text: "ok" - on_release: - root.dismiss() Button: text: "Don't show anymore" on_release: root.notshowanymore() + Button: + text: "ok" + on_release: + root.dismiss() : title: "BiogasControllerApp" font_size: 50 diff --git a/BiogasControllerApp-V2.3/biogascontrollerapp.py b/BiogasControllerApp-V2.3/biogascontrollerapp.py index 126330d..57b2ccf 100644 --- a/BiogasControllerApp-V2.3/biogascontrollerapp.py +++ b/BiogasControllerApp-V2.3/biogascontrollerapp.py @@ -888,5 +888,6 @@ try: if __name__ == "__main__": bga = BiogasControllerApp() bga.run() + except Exception as e: - logger.critical(e) \ No newline at end of file + logger.critical(e, exc_info=True)