Skip to content

Commit 4a14807

Browse files
committed
fix(macOS): unify logging
1 parent 287d274 commit 4a14807

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Everywhere.Core/Configuration/CommonSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public bool IsUserStartupEnabled
177177
catch (Exception ex)
178178
{
179179
ex = HandledSystemException.Handle(ex); // maybe blocked by UAC or antivirus, handle it gracefully
180-
Logger.LogError(ex, "Failed to set user startup enabled.");
180+
Log.ForContext<CommonSettings>().Error(ex, "Failed to set user startup enabled.");
181181
ShowErrorToast(ex);
182182
}
183183
}

0 commit comments

Comments
 (0)