duplicate env data in flail exception to prevent mangling of environment and to avoid frozen errors