print whole obj when there's an error