Skip to content

Commit

Permalink
fix device
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Feb 22, 2024
1 parent 5d6f54d commit 6ecaacb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,9 @@ class BadTimestamp {
}
}
class BadGeocoordinates {
constructor(payload, deviceData) {
constructor(payload, device) {
this.name = 'BAD_GEOCOORDINATES';
this.message = 'Invalid rfc7946 coordinates [' + payload + ']';
this.message = 'Invalid rfc7946 coordinates [' + payload + '] in ' + JSON.stringify(device);
this.code = 400;
}
}
Expand Down

0 comments on commit 6ecaacb

Please sign in to comment.