-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Short urls for error messages? #380
Comments
Good idea. |
I started looking into doing this, but it turns out to be tricky. With few exceptions, Syncthing just reports a random error generated somewhere else, i.e.
where |
Does Go not use error classes, like Java has Exception classes (with inheritance and all)? If not, you might want to create your own classes wherever you throw the error (or see it for the first time if it's coming somewhere external), and then check the error class later? |
No |
How about adding short urls to error messages to find out an explanation? It might cut down on duplicate questions on the discourse board.
The text was updated successfully, but these errors were encountered: