qol: simplify accessors

This commit is contained in:
Gary Sharp committed 2025-07-20 11:24:04 +10:00
1 parent 3aeb9374a9
commit b4e54c9edf
61 files changed
+132 -132

No files matched your search

@@ -68,7 +68,7 @@ namespace Disco.Services.Devices.Enrolment
public EnrolmentLog()
{
}
private static void Log(EnrolmentLog.EventTypeIds EventTypeId, params object[] Args)
private static void Log(EventTypeIds EventTypeId, params object[] Args)
{
EnrolmentLog.Current.Log((int)EventTypeId, Args);
}
@@ -143,7 +143,7 @@ namespace Disco.Services.Devices.Enrolment
EnrolmentLog.LogSessionFinished(sessionId);
MacSecureEnrol = response;
}
catch (System.Exception ex)
catch (Exception ex)
{
EnrolmentLog.LogSessionError(sessionId, ex);
throw ex;