Add error log to ap_mruby_irep_clean