conwetlab / ckanext-oauth2

OAuth2 support for CKAN
GNU Affero General Public License v3.0
25 stars 55 forks source link

Feature/improve missing conf error msg #20

Closed aarranz closed 6 years ago

aarranz commented 6 years ago

Currently, the plugin raises a ValueError exception with a generic message if some of the required configuration values is missing. But there are several required configuration settings, so is hard to know what setting is missing.

This PR improves this error message so it states the configuration settings that are missing.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.0005%) to 99.547% when pulling 19c922ef763ce4694aa0f42853426b36045b9a6b on aarranz:feature/improve-missing-conf-error-msg into 33371e7b068988a208c830b0f57ce9bdd5b5bf79 on conwetlab:master.