Skip to content

Ensure messenger is instantiated before it is required by any methods.

K Widholm requested to merge issue/fastly-3488064:ensure-messenger into 4.0.x-dev

If Fastly is misconfigured, the constructor returns early, and when it attempts to write out the errors, it uses an uninstantiated class property (messenger). This just moves messenger instantiation earlier so it exists when the class attempts to write out its errors.

Resolves #3488064

Merge request reports

Loading