[Start] Include request URL in logs for notFoundError warning #4346
charlesobrien
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Adding this here for tracking per ask from @schiller-manuel from Discord.
While developing locally I was getting multiple "notFoundError was encountered on the route with ID "root" ..." warnings in my terminal logs. I had no idea what was triggering the warning, however -- was it a missing favicon.ico the browser was requesting? Something else? There were also no 404s showing in Chrome Dev Tools network pane. Turns out, Chrome Dev Tools silently asks for a "devtools.json" file.
In the future, diagnosing notFoundErrors would be improved if the request URL was also included in the logs/warning (e.g., in this case clearly showing that it was a request for devtools.json that was triggering the notFoundError).
Beta Was this translation helpful? Give feedback.
All reactions