]> BookStack Code Mirror - bookstack/commit
Modify HttpFetchException handle to log exception
authorThomas Kuschan <redacted>
Wed, 14 Jun 2023 12:09:52 +0000 (14:09 +0200)
committerThomas Kuschan <redacted>
Fri, 16 Jun 2023 07:21:25 +0000 (09:21 +0200)
commitc35080d6cef5b5600cb4f93ca2fd25d0f31a4cd2
treec316adfeb801730d94aceeda921f58be0ec39842
parentec775aec02c0887d5cf2dc23c938a75b7eaf67d2
Modify HttpFetchException handle to log exception

Within the flow of HttpFetchException, the actual exception from curl is preserved and logged. Make HttpFetchException a pretty exception for when it is shown to users.
app/Exceptions/HttpFetchException.php
app/Uploads/HttpFetcher.php
app/Uploads/UserAvatars.php
tests/Uploads/AvatarTest.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.