in2code-de / luxletter

Newsletter system for TYPO3

Home Page:https://www.in2code.de/agentur/typo3-extensions/luxletter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUGFIX] Passthrough real exception

julianhofmann opened this issue · comments

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.

Just merged