We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a23f22 commit ab3dda6Copy full SHA for ab3dda6
network.go
@@ -24,7 +24,9 @@ func networkStateChanged() {
24
timeSync.SetDhcpNtpAddresses(networkState.NtpAddressesString())
25
}
26
27
- timeSync.Sync()
+ if err := timeSync.Sync(); err != nil {
28
+ networkLogger.Error().Err(err).Msg("failed to sync time after network state change")
29
+ }
30
31
32
// always restart mDNS when the network state changes
0 commit comments