502.5 Error After 2.9.0 Update

Ok, I figured out what was going wrong.

At the beginning of the script I started the logging. Below that, I was doing the UD module import. So it never looked at the config in the directory, instead pulling the defaults from where the module was installed from PSGallery.

Can’t believe it took me this long to spot that…