Make error message more informative