Fix windows installers

This commit is contained in:
Vladimir Stoilov
2024-12-10 13:46:31 +02:00
parent 5713d7d3c6
commit 3101d0a7aa
4 changed files with 5 additions and 2 deletions

View File

@@ -143,7 +143,7 @@ func updateGlobalConfigProfile(_ context.Context) error {
module.states.Add(mgr.State{
ID: globalConfigProfileErrorID,
Name: "Internal Settings Failure",
Message: fmt.Sprintf("Some global settings might not be applied correctly. You can try restarting the Portmaster to resolve this problem. Error: %s", err),
Message: fmt.Sprintf("Some global settings might not be applied correctly. You can try restarting the Portmaster to resolve this problem. Error: %s", lastErr),
Type: mgr.StateTypeWarning,
})
}