Repository navigation
Show error message when a fatal error occurs - #805
Conversation
Co-authored-by: Sean Feldman
|
The stack could automatically be copied to the clipboard, but that would be unexpected and sometimes not desired. Adding a button for optionally copying the stack, would as far as I know require a custom dialog box, which is more than I had in mind for this PR. But anyone is free to add that functionality in the future... 😃 |
Why would it be undesired? Also, if you say in the error that the stacktrace has been copied to the clipboard, it's no longer unexpected 🙂 Personally, I really dislike taking screenshots of errors because there's no other way to re-read that error message. And sure thing I will not remember which line and column there was an issue with. |
What if I have a Entra client secret in the clipboard, start SBE and then I would lose the secret and have a stack trace there instead.
I agree. I would like to see it writing the stack to a log file. In the error message it should show the path to the file. |
Clipboard on Windows 10 and 11 can retain more than one entry. |
Yes, but I believe there is a lot of people who don't use it. Also, I have never used an application that replaced the contents of the clipboard on its own accord. |
|
Then, you'll be forced to memorize the line and the position. Fun. |

This happens if the user configuration contains invalid XML, for instance.