* Fix idm to acutally return error during startup to the runtime * Add proper conditon to error log statement