From b5c2473cd065069654b40d6ac70b3f3b59f478ca Mon Sep 17 00:00:00 2001 From: Tobias Wohlleben Date: Mon, 20 Jan 2025 14:00:08 +0100 Subject: [PATCH] wip --- src/CamBooth/CamBooth.App/Core/Camera/CameraService.cs | 1 + src/CamBooth/CamBooth.App/LiveView/LiveViewPage.xaml.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CamBooth/CamBooth.App/Core/Camera/CameraService.cs b/src/CamBooth/CamBooth.App/Core/Camera/CameraService.cs index 910ec29..8bceefa 100644 --- a/src/CamBooth/CamBooth.App/Core/Camera/CameraService.cs +++ b/src/CamBooth/CamBooth.App/Core/Camera/CameraService.cs @@ -277,6 +277,7 @@ public class CameraService : IDisposable catch (Exception ex) { this.ReportError(ex.Message); + throw; } } diff --git a/src/CamBooth/CamBooth.App/LiveView/LiveViewPage.xaml.cs b/src/CamBooth/CamBooth.App/LiveView/LiveViewPage.xaml.cs index d62f667..75a9a99 100644 --- a/src/CamBooth/CamBooth.App/LiveView/LiveViewPage.xaml.cs +++ b/src/CamBooth/CamBooth.App/LiveView/LiveViewPage.xaml.cs @@ -71,7 +71,7 @@ public partial class LiveViewPage : Page } catch (Exception e) { - this._logger.Error(e.Message); + MessageBox.Show("Sorry, das hat leider nicht geklappt!"); } }