Add error logging

This commit is contained in:
Michael Bucari-Tovo 2025-03-04 12:53:34 -07:00
parent 649b52af1d
commit c4827fc761
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<Version>12.0.2.1</Version>
<Version>12.0.2.2</Version>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Octokit" Version="14.0.0" />

View File

@ -66,6 +66,7 @@ namespace LibationAvalonia.ViewModels
}
catch (Exception ex)
{
Serilog.Log.Logger.Error(ex, "Error performing filtering.");
await MessageBox.Show($"Bad filter string:\r\n\r\n{ex.Message}", "Bad filter string", MessageBoxButtons.OK, MessageBoxIcon.Error);
// re-apply last good filter