Skip to content

Commit

Permalink
Merge pull request #7 from Will-create/patch-3
Browse files Browse the repository at this point in the history
Fixed error handling
  • Loading branch information
petersirka committed May 20, 2024
2 parents a42aff9 + 03fc799 commit 148905a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tms.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function tmscontroller($) {
}
} else {
msg.error = true;
msg.data = new ErrorBuilder.push(404).output();
msg.data = new ErrorBuilder().push(404).output();
client.send(msg);
}
}
Expand Down Expand Up @@ -377,4 +377,4 @@ F.on('$tms', function() {
Cache.socket && Cache.socket.close(1000, 'Changed TMS secret');
}

});
});

0 comments on commit 148905a

Please sign in to comment.