Add error log to debug - refs BT#8340