mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
On convert image, when in debug mode, show why the sidecars have been rejected.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user