question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Changing settings can fail silently

See original GitHub issue

From https://github.com/Microsoft/vscode/issues/50249#issuecomment-414102996

  • Set editor.parameterHints which has been replaced
  • In the settings UI, set "editor.parameterHints.enabled"
  • The change is made in the JSON but doesn’t apply because of editor.parameterHints.
  • Errors are written in the devtools console but there’s no other way to know about the conflict.

@sandy081 Should these also show a notification error to the user?

https://github.com/Microsoft/vscode/blob/b6411f27b0e41588fa897d51c34eafb636f6cbae/src/vs/platform/configuration/common/configurationModels.ts#L270-L274

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
sandy081commented, Aug 20, 2018

Yeah makes sense to notify user and allow them to clean up

0reactions
sandy081commented, Oct 5, 2018

@roblourens I am not aware of any. Its the responsibility of the owner of the setting to make sure it is backward compatible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to handle errors with grace: failing silently is not an option
If At First You Don't Succeed, Try, Catch, Finally. Before we continue, this might be a good time to mention that code failing...
Read more >
ThreadPool Tasks Fail Silently (and how to fix it)
Issue Tasks Synchronously​​ A final way of exposing an error in an asynchronous task that has failed silently is to change it to...
Read more >
Should a program fail on errors or silently ignore them
It depends on the error, lets say if it is a critical function that is entering data into MySQL, it needs to let...
Read more >
What is the reason for making Object.freeze() to fail silently?
That is, you cannot change the values of properties inside a frozen object. If you attempt to change the value, then it will...
Read more >
Unable to modify display settings (GUI fails silently) - Ask Ubuntu
If I open the display settings by running the command gnome-control-center display , I can see the following error whenever I click apply:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found