paritytech / bench-bot

ISC License
9 stars 19 forks source link

Some errors are not reported properly in the logs #82

Closed joao-paulo-parity closed 2 years ago

joao-paulo-parity commented 2 years ago

Some log entries currently look like this

INFO (server): POST http://localhost:3000/ - 200
ERROR (server):
    type: "error"
INFO (server): Connected
ERROR (server):
    type: "error"

As showcased by https://grafana.parity-mgmt.parity.io/explore?orgId=1&left=%5B%221643170209360%22,%221643172371357%22,%22loki.parity-mgmt%22,%7B%22expr%22:%22%7Bhost%3D%5C%22bm3%5C%22,unit%3D%5C%22benchbot-monitor.service%5C%22%7D%22,%22refId%22:%22A%22%7D%5D

joao-paulo-parity commented 2 years ago

The error being poor in information is something coming from Probot, not us It's something that should be fixed upstream