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 e57cef6 commit fc5ebd0Copy full SHA for fc5ebd0
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