Add oid register failure warning

Signed-off-by: leo-ma <begeekmyfriend@gmail.com>