subhh / libconnect

Diese TYPO3-Extension ist von Avonis im Auftrag der Staats- und Universitaetsbibliothek Hamburg entwickelt worden. Mit ihr lassen sich Ergebnisse aus den Informationssystemen EZB und DBIS der Universitaet Regensburg direkt in das TYPO3-System einbinden.
GNU General Public License v2.0
8 stars 8 forks source link

Exceptions due to service timeouts #13

Closed christophlehmann closed 3 years ago

christophlehmann commented 4 years ago

In \Sub\Libconnect\Service\Request::Request you try to catch GuzzleHttp\Exception\ServerException, but it should be \GuzzleHttp\Exception\ServerException.

Furthermore i would just catch \Exception because there are more which can occur, for example \GuzzleHttp\Exception\ConnectException

christophlehmann commented 3 years ago

Hi @percolatorWitt ,

Is there a chance to get it in master?

percolatorWitt commented 3 years ago

Hi,

zur Einfachheit mal kurz auf Deutsch. Sorry, das ging bei mir unter. Bin gerade in Elternzeit. Vielleicht ne komische Frage, aber wie merge ich jetzt deinen Code?

christophlehmann commented 3 years ago

Moin,

da müsste ein Button sein "Squash and Commit"