Skip to content

feat(session): introduce proper error handling - #100

Merged
Rafael-Lombardi merged 4 commits into
mainfrom
feat/notification-system
Aug 25, 2026
Merged

feat(session): introduce proper error handling#100
Rafael-Lombardi merged 4 commits into
mainfrom
feat/notification-system

Conversation

@r0liveir

Copy link
Copy Markdown
Contributor

Agora o backend retorna mensagens/envelopes de erro quando um evento dá um erro no dispatch da engine.

No caso de erros internos, também retorna o request_id. mas se o json estava mal-formatado, não retorna o request_id

closes #31

…f handle_client/websocket endpoint

this commit introduces better backend error handling based on messages

whenever an error occurs, it is returned and routed by the view layer, and only the offending socket receives the warning

closes #31
Co-authored-by: Codex <codex@openai.com>
@sonarqubecloud

Copy link
Copy Markdown

@r0liveir

r0liveir commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

Os testes foram mais pra aumentar o code coverage mesmo, nn me preocuparia tanto com eles

a menos que a gnt mude funcionalidade depois e algum teste quebre. daí recomendo ver o q está sendo testado

@Rafael-Lombardi Rafael-Lombardi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Td certo :)

@Rafael-Lombardi
Rafael-Lombardi merged commit 4af81e9 into main Aug 25, 2026
5 checks passed
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.

backend: improve error flow

2 participants