jsonmon icon indicating copy to clipboard operation
jsonmon copied to clipboard

failure should indicate why it failed via RESTful API

Open chillum opened this issue 8 years ago • 1 comments

API should return the reason, why the check failed. This may help when the initial reason is not more the case. Example (not sure about exact syntax yet):

[
  {
    "name": "Test",
    "web": "http://localhost",
    "failed": true,
    "why": "Get 127.0.0.1 failed"
  },
]

We probably should introduce a limit on reason's length (also applies to match).

chillum avatar Jan 11 '17 23:01 chillum

See PR #17 I have added a new field error which contains the related err message.

malud avatar May 18 '17 12:05 malud