gaia icon indicating copy to clipboard operation
gaia copied to clipboard

Better error logging for hub operations

Open wileyj opened this issue 4 years ago • 0 comments

Describe the bug Using an nginx proxy, it's nearly impossible to correlate an nginx 500 error to an error on a hub outside of using a timestamp.

Adding a path item or something else identifiable would be helpful in linking a proxy error to an event in the hub log.

ex:

{
  "message": "Expected isPoint, got Buffer",
  "__type": "isPoint",
  "__value": {
    "type": "Buffer",
    "data": [
        00
    ]
  },
  "__valueTypeName": "Buffer",
  "level": "error",
  "timestamp": "2021-02-11 16:26:41",
  "path": "/hub/xxxxxxx/something.json"
}

wileyj avatar Feb 11 '21 17:02 wileyj