- Add error reporting