Suppress warnings

This commit is contained in:
Michael Bucari-Tovo 2022-12-19 09:48:18 -07:00
parent 47968304c9
commit 357b220ace
2 changed files with 8 additions and 4 deletions

View file

@ -1,4 +1,5 @@
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
@ -68,8 +69,9 @@ namespace LibationAvalonia
return true;
}
catch (Exception ex)
catch (Exception exDebug)
{
Serilog.Log.Logger.Debug(exDebug, "Silent failure");
return false;
}
}