Skip to content

feat(js): Handle ingestion errors in Reactor#83

Merged
elementbound merged 6 commits intofoxssake:mainfrom
RevoluPowered:patch-1
Nov 26, 2025
Merged

feat(js): Handle ingestion errors in Reactor#83
elementbound merged 6 commits intofoxssake:mainfrom
RevoluPowered:patch-1

Conversation

@RevoluPowered
Copy link
Contributor

This is a fix for crashing when sending bad data over TCP.

Likely the proper fix is to swap to exceptions, and process them OR pass them to an error handler.

# 1 run netcat
nc localhost 9980
# 2 send bad data
/213/213.23.12/.3421
# 3 no crash with this fix, or crash without the fix

This is a fix for crashing when sending bad data over TCP.

Likely the proper fix is to swap to exceptions, and process them OR pass them to an error handler.

```bash
# 1 run netcat
nc localhost 9980
# 2 send bad data
/213/213.23.12/.3421
# 3 no crash with this fix, or crash without the fix
```
@RevoluPowered
Copy link
Contributor Author

Made as a draft for @elementbound to take a look in morning.

@elementbound elementbound changed the title Update reactor.ts fix(js): Never throw from Reactor Nov 26, 2025
@elementbound elementbound marked this pull request as ready for review November 26, 2025 19:20
@elementbound elementbound changed the title fix(js): Never throw from Reactor feat(js): Handle ingestion errors in Reactor Nov 26, 2025
@elementbound elementbound merged commit b6053b1 into foxssake:main Nov 26, 2025
4 checks passed
elementbound added a commit to foxssake/nohub that referenced this pull request Nov 30, 2025
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.

2 participants

Comments