cmd/cli: fix staticcheck linting

This commit is contained in:
Cuong Manh Le
2024-08-07 15:17:41 +07:00
committed by Cuong Manh Le
parent e8d3ed1acd
commit 62a0ba8731

View File

@@ -2500,7 +2500,7 @@ func checkDeactivationPin(s service.Service, stopCh chan struct{}) error {
return nil // the server is running older version of ctrld
}
}
mainLog.Load().Error().Msg(errInvalidDeactivationPin.Error())
mainLog.Load().Error().Err(err).Msg(errInvalidDeactivationPin.Error())
return errInvalidDeactivationPin
}