Revent/CdashBot

Incorrect json output from CDash breaks CDashBot

Closed this issue · 1 comments

When the bot gets invalid json from the server it infinitely prints following messages and refuses to do anything useful:

15:00:01.839 [info] Wrong Json: Project GetName(): Id not set{"status":true,"schedule":[{"id":"99","status":"scheduled","project":false,"site":null,"year":"","month":"","day":"","time":"::","duration":"0:00:00","build_id":[]}]}

Steps to reproduce:

  • Send !status 999

fixed