Skip to content

Commit

Permalink
feature: report output messages for the dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
sbender9 committed Aug 15, 2024
1 parent 1923cc1 commit 4ca8305
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ module.exports = function(app) {
try {
app.debug(`emit nmea2000JsonOut ${JSON.stringify(pgn)}`)
app.emit("nmea2000JsonOut", pgn);
app.reportOutputMessages(1)
}
catch ( err ) {
console.error(`error writing pgn ${JSON.stringify(pgn)}`)
Expand Down

0 comments on commit 4ca8305

Please sign in to comment.