Another one is to generate a globally unique id for that failure. In a web application the user can share the id with you and you can look in the log and see the associated error.
On the flip side, if you're willing to give up globally unique for "unique enough within and reasonable time frame" then you can go with just a few characters or even short words.