set error flag in art_report_error() (used to be art_abort())