
Dashboard error event framework
When Omni is the core product, like in many embedded use cases, developers need clear tooling to understand and address errors in queries proactively. We've built a new framework to alert…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Um, in the event world or the embed world rather, uh, there's been a long-standing ask to be able to publish events whenever the dashboard has an error. So, in this case, I just fabricated a bad SQL statement. And, you know, an embed user would see this uh, but the admins would have no way of of knowing that their users are seeing this.
So now if I refresh you'll see I've got in the background I already set up a little event listener. So you can see I've emitted this event called error and it includes the same error message that's on the screen along with uh the location of like the source dashboard that created the error. Um and then finally of course it is docked.
That's it.