in2code-de / luxletter

Newsletter system for TYPO3
https://www.in2code.de/agentur/typo3-extensions/luxletter/
22 stars 25 forks source link

[BUGFIX] Passthrough real exception #221

Closed julianhofmann closed 2 months ago

julianhofmann commented 2 months ago

If NewsletterUrl::getContentFromOrigin() fails to read the newsletter via Core/GuzzleClient, this is acknowledged with an Exception that only deals with the type definition and missing TypoScript. A failure of the HTTP connection (e.g. also due to an invalid SSL certificate) is not yet mentioned.

This can be confusing when troubleshooting.

If a RequestException is thrown, then this should also be passed on instead of (incorrectly) relabeling it as a MisconfigurationException and throwing it.

einpraegsam commented 2 months ago

Just merged