write_error: get exc_info should return a triple.