Enhance exception logging by adding contextual messages for better debugging

This commit is contained in:
2025-08-17 06:42:43 +01:00
parent a94ca0e326
commit c120f2e5bb
77 changed files with 7082 additions and 10728 deletions

View File

@@ -322,7 +322,7 @@ public class MasterSystem : IByteAddressableImage
catch(IOException ex)
{
ErrorMessage = string.Format(Localization.Could_not_create_new_image_file_exception_0, ex.Message);
AaruLogging.Exception(ex);
AaruLogging.Exception(ex, Localization.Could_not_create_new_image_file_exception_0, ex.Message);
return ErrorNumber.InOutError;
}