Skip to content

Commit

Permalink
Update coap-server.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpeintner authored May 22, 2024
1 parent be63265 commit f725e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/binding-coap/src/coap-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ export default class CoapServer implements ProtocolServer {
} else {
this.sendChangedResponse(res);
}
} catch (errror) {
} catch (error) {
const errorMessage = `${error}`;
error(`CoapServer on port ${this.getPort()} got internal error on invoke '${req.url}': ${errorMessage}`);

Check failure on line 814 in packages/binding-coap/src/coap-server.ts

View workflow job for this annotation

GitHub Actions / Tests (macos-latest, Node 20.x)

Object is of type 'unknown'.

Check failure on line 814 in packages/binding-coap/src/coap-server.ts

View workflow job for this annotation

GitHub Actions / Tests (ubuntu-latest, Node 18.x)

Object is of type 'unknown'.

Check failure on line 814 in packages/binding-coap/src/coap-server.ts

View workflow job for this annotation

GitHub Actions / Tests (ubuntu-latest, Node 20.x)

Object is of type 'unknown'.
this.sendResponse(res, "5.00", errorMessage);
Expand Down

0 comments on commit f725e82

Please sign in to comment.