ENH: store traceback in failed return