Skip to content

Commit

Permalink
Log BG image load error
Browse files Browse the repository at this point in the history
  • Loading branch information
neon-nyan committed Oct 27, 2024
1 parent 5742dd9 commit 3c7b029
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CollapseLauncher/XAMLs/MainApp/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,9 @@ private async void CustomBackgroundChanger_Event(object sender, BackgroundImgPro
}
catch (Exception ex)
{
ErrorSender.SendException(ex);
LogWriteLine($"An error occured while loading background {e.ImgPath}\r\n{ex}",
LogType.Error, true);
ErrorSender.SendException(new Exception($"An error occured while loading background {e.ImgPath}", ex));
}
}

Expand Down

0 comments on commit 3c7b029

Please sign in to comment.