Add slightly better handling of errors in inliner macros.