Issue
There are currently a number of Notion internal errors in the code:
$ grep -nIr "\.unknown()" crates/ src/ | wc -l
82
Normally users should not run into these, but when they do there is not much info provided about what happened so that we can reproduce the error.
Proposal
For internal errors, I propose that we:
- Log the error details to a file (backtrace, environment, whatever we can get)
- Include the location of that file in the error message describing how to report the error, so that the use can include it
Issue
There are currently a number of Notion internal errors in the code:
Normally users should not run into these, but when they do there is not much info provided about what happened so that we can reproduce the error.
Proposal
For internal errors, I propose that we: