How can I determine which Salesforce instance sent an unhandled exception email based on the contents of the email?
The Organization Id (keyprefix 00D) and User Id (keyprefix 005) are at the start of the email body. E.g.
Apex script unhandled exception by user/organization: 00540000000000F/00D400000000001
However, I don't always know which of the multiple orgs I can connect to these Ids belong to.
The organization name does appear in the email subject, but in this particular case it is something obscure like
"Developer script execution from Web : "
I've started keeping a spreadsheet to map the Organization Id to the instances, but is there any alternative approach?
After writing this out I might be asking too much. I can't think of much more than the Org Name, Org Id, and possibly server instance that could be used to identify the Salesforce instance. Happy to be proven wrong though.