add debug into to message

This commit is contained in:
tomse
2026-02-01 14:29:21 +01:00
parent b523228679
commit acd0304294

View File

@@ -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);
}
}
}