Add error reporting

:heart