Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a better error message when failing to decrypt a setting #95

Closed
lindydonna opened this issue Mar 21, 2017 · 0 comments
Closed

Comments

@lindydonna
Copy link
Contributor

lindydonna commented Mar 21, 2017

I had "encrypted": "true" in my appsettings and tried to edit it as plain text in an editor. This causes a really cryptic error message about encoding.

Recommend that we catch the exception and instead print:

Failed to decrypt setting 'name'. Encrypted settings only be edited through 'func settings add'.

@lindydonna lindydonna added this to the 1.0.0.beta.96 milestone Mar 28, 2017
@ahmelsayed ahmelsayed modified the milestones: 1.0.0.beta.96, 1.0.0.beta.97 Apr 12, 2017
@ahmelsayed ahmelsayed modified the milestones: 1.0.0.beta.97, 1.0.0.beta.98 May 3, 2017
@lindydonna lindydonna modified the milestones: 1.0.0.beta.96, 1.0.0.beta.98 May 16, 2017
@ghost ghost locked as resolved and limited conversation to collaborators Dec 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants