Check for string response on server ping

What does this MR do and why?

Fix handling if a server returns a string instead of json data on socket ping.

Some forge servers will emit a message similar to "server is still starting please wait before reconnecting". This merge request will fix this issue. This issue causes a stack on html page.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

  • Have you checked this doesn't interfere/conflict/duplicate someone elses work?
  • Have you fully tested your changes?
  • Have you resolved any lint issues?
  • Have you assigned a reviewer?
  • Have you applied correct labels?
Edited by Andrew

Merge request reports

Loading