Fix unhandled errors in devicetwin/dtmanager package
Author: Rucha0901Created Sep 25, 2026Updated Sep 25, 2026
What would you like to be added/modified:
Fix unhandled errors in the edge/pkg/devicetwin package where errors are completely ignored, simply accompanied by a // TODO: handle error comment. These should be logged or handled properly.
Why is this needed:
There are over 30 places in device.go, membership.go, twin.go, and types_helper.go where errors are ignored. Handling errors by logging them (e.g., klog.Errorf(...)) improves reliability and debuggability.
Source: kubeedge/kubeedge