From acd030429440298ca7e3e99c0a725cb128244c1f Mon Sep 17 00:00:00 2001 From: tomse <1444539+tomse@users.noreply.github.com> Date: Sun, 1 Feb 2026 14:29:21 +0100 Subject: [PATCH] add debug into to message --- PDFWorkflowManager/PDFWorkflowManager/MainForm.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PDFWorkflowManager/PDFWorkflowManager/MainForm.cs b/PDFWorkflowManager/PDFWorkflowManager/MainForm.cs index b640ef0..f34b296 100644 --- a/PDFWorkflowManager/PDFWorkflowManager/MainForm.cs +++ b/PDFWorkflowManager/PDFWorkflowManager/MainForm.cs @@ -381,9 +381,9 @@ namespace PDFWorkflowManager GC.WaitForPendingFinalizers(); } } - catch + catch (Exception ex) { - MessageBox.Show("Could not load preview image from Work directory.", "Error loading preview image.", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show("Could not load preview image from Work directory." + ex, "Error loading preview image.", MessageBoxButtons.OK, MessageBoxIcon.Error); } if (Directory.Exists(Path.Combine(txtProjectDir.Text, Properties.Settings.Default.WorkOutDir))) @@ -407,9 +407,9 @@ namespace PDFWorkflowManager File.Delete(tempCopyPath); } } - catch + catch (Exception ex) { - MessageBox.Show("Could not load preview image from Work\\out directory.", "Error loading preview image.", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show("Could not load preview image from Work\\out directory." + ex, "Error loading preview image.", MessageBoxButtons.OK, MessageBoxIcon.Error); } } }