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

feat(insights): open error in debug #21746

Merged
merged 7 commits into from
Apr 26, 2024
Merged

feat(insights): open error in debug #21746

merged 7 commits into from
Apr 26, 2024

Conversation

mariusandra
Copy link
Collaborator

@mariusandra mariusandra commented Apr 23, 2024

Problem

Error messages are hard to debug.

Changes

Just one more thing to make debugging easier. I added it to a few errors, not all, and didn't change much else. Would love to merge it in and fill in missing pieces later.

I believe we can expose this to users. Hopefully they'll even include "debug links" in their support requests.

2024-04-25 12 37 47
image

Out of scope

There are still some issues with errors. I remember recently looking for and finding error messages in HTTP requests and not in the interface. Some errors themselves could use design cleanup. All of this needs a deeper dive.

How did you test this code?

Was investigating support cases, and couldn't get the query behind the error easily.

Copy link
Contributor

github-actions bot commented Apr 23, 2024

Size Change: +657 B (0%)

Total Size: 1.04 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 1.04 MB +657 B (0%)

compressed-size-action

@mariusandra mariusandra marked this pull request as ready for review April 25, 2024 10:41
@mariusandra mariusandra requested a review from a team April 25, 2024 10:42
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

6 snapshot changes in total. 0 added, 6 modified, 0 deleted:

  • chromium: 0 added, 6 modified, 0 deleted (diff for shard 2)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

Copy link
Member

@Twixes Twixes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense for us, though I'm not sure if on avergae this'll be more useful for users than confusing. The debugger's SQL view may be informative for the more technical users though, so let's try it

@mariusandra mariusandra enabled auto-merge (squash) April 25, 2024 21:56
@mariusandra mariusandra disabled auto-merge April 25, 2024 21:56
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

6 snapshot changes in total. 0 added, 6 modified, 0 deleted:

  • chromium: 0 added, 6 modified, 0 deleted (diff for shard 2)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@mariusandra mariusandra merged commit 13b2668 into master Apr 26, 2024
103 checks passed
@mariusandra mariusandra deleted the open-in-debug branch April 26, 2024 07:57
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

Successfully merging this pull request may close these issues.

4 participants