From 76d10a737494ef766ab694b27076f722c8879e77 Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Wed, 3 Nov 2021 12:01:58 +0100 Subject: [PATCH] ZooFlow: Small fix for init user errors --- GUIs.ZooFlow/ClassInit.vb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/GUIs.ZooFlow/ClassInit.vb b/GUIs.ZooFlow/ClassInit.vb index c49d89e0..d7153d26 100644 --- a/GUIs.ZooFlow/ClassInit.vb +++ b/GUIs.ZooFlow/ClassInit.vb @@ -176,9 +176,13 @@ Public Class ClassInit End Select Next + Catch ex As InitException + Logger.Error(ex) + Throw ex + Catch ex As Exception Logger.Error(ex) - Throw New InitException("Error while initializing user!", ex) + Throw New InitException($"Unexpected error while initializing user!", ex) End Try End Sub Private Sub InitializeLanguage(MyApplication As My.MyApplication)