better error reporting of etags