• Tai Lee's avatar
    Fix #837 -- Make it much easier to debug `OfflineGenerationError`. (#853) · 398ebbb2
    Tai Lee authored
    Previously, we were only including the hex digest key derived from the
    original content in the error message. This is useless because:
    * The key is missing, so we can't search templates or the cache for it
      and find anything useful.
    * We have no idea which template or compress block might have generated
      the key.
    Including the original content gives us a very strong clue that will
    help us identify the compress block which has some dynamic content that
    is causing the error.
compress.py 6.76 KB