Handle failures to obtain function name in prettyoutput