Skip to content

Catch packet decoding errors#809

Merged
danditomaso merged 3 commits into
meshtastic:mainfrom
bergie:catch_decoding_errors
Aug 25, 2025
Merged

Catch packet decoding errors#809
danditomaso merged 3 commits into
meshtastic:mainfrom
bergie:catch_decoding_errors

Conversation

@bergie

@bergie bergie commented Aug 25, 2025

Copy link
Copy Markdown
Contributor

Description

Unhandled errors thrown inside packet transform will cause connection to the node to be closed.

This addresses two such cases:

  • Occasional errors decoding a packet coming from serial transport
  • If packet is for a custom or unknown app, routing will throw an error

Related Issues

Works around #808

Changes Made

Added catch-and-log for these two cases.

@vercel

vercel Bot commented Aug 25, 2025

Copy link
Copy Markdown

@bergie is attempting to deploy a commit to the Meshtastic Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Aug 25, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
web-test Ready Ready Preview Comment Aug 25, 2025 0:50am

@danditomaso danditomaso merged commit b87fad2 into meshtastic:main Aug 25, 2025
1 of 2 checks passed
@bergie bergie deleted the catch_decoding_errors branch August 26, 2025 02:04
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