Don't hard-code error reporting