Skip to content

Commit f495f5f

Browse files
committed
updated error message
1 parent 68dd0b8 commit f495f5f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Source/ExifGlass.Core/MainWindow.axaml.cs

+4-2
Original file line numberDiff line numberDiff line change
@@ -573,13 +573,15 @@ private async Task LoadExifMetadatAsync(string? filePath)
573573
BoxExifGrid.IsVisible = false;
574574
BoxError.IsVisible = true;
575575

576+
577+
TxtError.Text = "\r\n❌ Error:\r\n";
576578
if (ex.Message.Contains("Target file or working directory doesn't exist"))
577579
{
578-
TxtError.Text = "\"exiftool.exe\" is not installed or ExifGlass could not find the path. To resolve this issue, please open the app settings and update the \"Excutable path\".";
580+
TxtError.Text += "\"exiftool.exe\" is not installed or ExifGlass could not find the path. To resolve this issue, please open the app settings and update the \"Excutable path\".";
579581
}
580582
else
581583
{
582-
TxtError.Text = ex.Message + "\r\n\r\n" +
584+
TxtError.Text += ex.Message + "\r\n\r\nℹ️ Details:\r\n" +
583585
ex.ToString();
584586
}
585587
}

0 commit comments

Comments
 (0)