gholt / swauth

This is the historical location of Swauth; active development is now at https://github.com/openstack/swauth
45 stars 30 forks source link

Show better error message when internal error occures. #75

Closed onovy closed 9 years ago

gholt commented 9 years ago

Folks were worried about what detail was returned to the client and that the server operator should check the logs for detail; did the correct detail not make it to the logs?

onovy commented 9 years ago

yes, backtrace and message is in log.

gholt commented 9 years ago

Okay, I'll have to reject this one for now, sorry. I do remember that returning just any exception message could result in leaking more info than desired to the client in some cases (to be honest I don't remember any specific example though). If it's pretty important to you, I could certainly see it as an option if said option was off by default. Thanks a bunch for your work on Swauth!

onovy commented 9 years ago

i agree and thank you.