Improve error messages on pack failures.