error report in resolveOutput now more informative