thephpleague / oauth2-server

A spec compliant, secure by default PHP OAuth 2.0 Server
https://oauth2.thephpleague.com
MIT License
6.49k stars 1.12k forks source link

Pass along previous exception #1337

Closed ash-m closed 1 year ago

ash-m commented 1 year ago

The current message is ambiguous on it's own. Supplementing the exception with the previously caught exception helps debug which constraint was violated.

hafezdivandari commented 1 year ago

Duplicate of #1243

ash-m commented 1 year ago

@hafezdivandari ah snap. Thank you for replying. I'll close it.