Improve error reporting in custom runners