If debug is enabled show more information about catched

exception in analyze command.
This commit is contained in:
2017-10-17 23:34:31 +01:00
parent 6423a434a5
commit a78653f207

View File

@@ -128,6 +128,7 @@ namespace DiscImageChef.Commands
{ {
DicConsole.ErrorWriteLine("Unable to open image format"); DicConsole.ErrorWriteLine("Unable to open image format");
DicConsole.ErrorWriteLine("Error: {0}", ex.Message); DicConsole.ErrorWriteLine("Error: {0}", ex.Message);
DicConsole.DebugWriteLine("Analyze command", "Stack trace: {0}", ex.StackTrace);
return; return;
} }