Init error handling earlier