Is it possible to switch Robust Exception Handling...
# adobe
a
Is it possible to switch Robust Exception Handling on by default in a docker-image-based CF install? Having to go into admin to do it is a bit rubbish. cfconfig isn't an option here, I'm afraid.
(this is for CF2023, but interested in doing it on CF2021 as well)
I just ran with this in my Dockerfile:
Copy code
RUN sed -i \
    "s/<var name='robust_enabled'><boolean value='[^']*'\/><\/var>/<var name='robust_enabled'><boolean value='true'\/><\/var>/g" \
    /opt/coldfusion/cfusion/lib/neo-debug.xml
Not great using
sed
to manipulate XML but... ah well, it's only for messing around in dev