diff --git a/DiscImageChef/Commands/Image/Convert.cs b/DiscImageChef/Commands/Image/Convert.cs index 8a0de5e9d..38a79b941 100644 --- a/DiscImageChef/Commands/Image/Convert.cs +++ b/DiscImageChef/Commands/Image/Convert.cs @@ -258,9 +258,10 @@ namespace DiscImageChef.Commands.Image sidecar = (CICMMetadataType)xs.Deserialize(sr); sr.Close(); } - catch + catch(Exception ex) { DicConsole.ErrorWriteLine("Incorrect metadata sidecar file, not continuing..."); + DicConsole.DebugWriteLine("Image conversion", $"{ex}"); return(int)ErrorNumber.InvalidSidecar; } @@ -281,9 +282,10 @@ namespace DiscImageChef.Commands.Image resume = (Resume)xs.Deserialize(sr); sr.Close(); } - catch + catch(Exception ex) { DicConsole.ErrorWriteLine("Incorrect resume file, not continuing..."); + DicConsole.DebugWriteLine("Image conversion", $"{ex}"); return(int)ErrorNumber.InvalidResume; }