fixes throwError discrepancy

Found in "Actually use error reporting"