From 3dffad26ca1920d8205b67e694fefc0d024f3526 Mon Sep 17 00:00:00 2001
From: Harald Martini <harald.martini@student.tugraz.at>
Date: Mon, 27 Jun 2022 12:58:51 +0200
Subject: [PATCH] print innerexception message in VECTO MainForm.vb

---
 VECTO/GUI/MainForm.vb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/VECTO/GUI/MainForm.vb b/VECTO/GUI/MainForm.vb
index 1c3dd3737b..839b11eb02 100644
--- a/VECTO/GUI/MainForm.vb
+++ b/VECTO/GUI/MainForm.vb
@@ -1056,7 +1056,7 @@ lbFound:
                                          .Message = "Finished Reading Data for job: " + jobFile})
 
             Catch ex As Exception
-                MsgBox($"ERROR running job {jobFile}: {ex.Message}", MsgBoxStyle.Critical)
+                MsgBox($"ERROR running job {jobFile}: {ex.Message} {vbCrLf} {ex.InnerException?.Message}", MsgBoxStyle.Critical)
                 sender.ReportProgress(0, New VectoProgress With {.Target = "ListBoxError", .Message = ex.Message})
                 Return
             End Try
-- 
GitLab