In initSetup, return error status in case of exception