mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Enhance exception logging by adding contextual messages for better debugging
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user