Display just a bit more information about where things went wrong

This makes it slightly easier to track down problems.