Set error status in mib item query

Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>