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

[Suggestion] Number errors, giving them unique numbers #205

Open
chrisjlocke opened this issue May 31, 2023 · 0 comments
Open

[Suggestion] Number errors, giving them unique numbers #205

chrisjlocke opened this issue May 31, 2023 · 0 comments

Comments

@chrisjlocke
Copy link
Member

chrisjlocke commented May 31, 2023

Following on from an error that resulted in a 'Database query error', it turns out this error occurs a lot.

Search...

Could the error messages be prefixed with a unique number? Maybe not exactly a line number, but just a unique (even sequential?) number, eg, '[413] Database query failed'
A bit like ye olden days of Basic where you got, 'Syntax error at line 657'.
Its not overly helpful as the error may still occur at a common pinchpoint, but it would still guide the person looking at the code that it was /that/ specific error the error occurred. It may be obvious (in the above error) that it could only have come from here or there, as it occurred on the front page, but sometimes if the error did say '[89] Database query failed' and you thought '89? Why would be it going there? Oh, because that part failed....' and could be a useful guide.

If agreed, I don't mind doing the numberin', as I'm useless like that.

I don't think it needs the full Microsoft 'error 0x00003bcdefffffaaa0000000' they do, but just differentiating the error strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant