marcells/node-build-monitor

Ignore response with empty body

cambiph opened this issue · 1 comments

Hello,

I have set up the monitor and I like it, except for one thing.
I noticed that Bamboo, from time to time, sends an empty body back for some builds.
We currently have no idea what is causing this but it causes some builds to disappear from the monitor for some time.

Is it possible to add a property ignoreEmptyBody or some sort that ignores an empty body and keeps the build result on screen?
I am aware that you will not always have the correct results but after a while, the body gets populated and all is restored.

Thanks in advance.
Cheers

Hi,

yes, that looks like a good solution.

Feel free to make a pull request.

Regards
Marcell