Add some traceable info to the error messages.