Revert "removed set -e from static assets"

This reverts commit 9385d6a6d4938014cb1557511905ca09bb3653b6.