updated error reporting in MANGA_bench