yourivw / LEClient

An easy-to-use PHP ACME v2 client library, designed to be used with LetsEncrypt.
MIT License
204 stars 98 forks source link

Fix expected "Invalid Response" exceptions #82

Closed EtienneBruines closed 4 years ago

EtienneBruines commented 4 years ago

The connector throws exceptions for non-200 status codes, so checking it in normal flow is no longer an option. We need to try-catch it to be sure.

Fixes #78 Fixes #79

I'm not 100% sure if it fixes #78, but it should fix #79

yourivw commented 4 years ago

Thanks for your help! I did not have any time to look at it myself. I will release a new version now.