chore: update some logging methods

This commit is contained in:
Andrew Welker
2025-03-25 23:58:51 -05:00
parent 26116d0495
commit a5bc79c469
7 changed files with 12 additions and 7 deletions

View File

@@ -6,6 +6,7 @@ using System.Text;
using Crestron.SimplSharp;
using Crestron.SimplSharp.CrestronSockets;
using Newtonsoft.Json;
using PepperDash.Core.Logging;
namespace PepperDash.Core
{
@@ -279,7 +280,7 @@ namespace PepperDash.Core
}
catch (Exception ex)
{
Debug.Console(0, "GenericUdpServer Receive error: {0}{1}", ex.Message, ex.StackTrace);
this.LogException(ex, "GenericUdpServer Receive error");
}
finally
{