add some more useful error detail