If the handover fails and no agents were online, the endpoint would not throw any error and would return same 200 OK status code
New Behaviour:
If the handover fails because no agents were online, the endpoint will throw an error
Response status code: 500
Response body: { "error": "Handover failed! No agents online" }
Fixes #20
Old behaviour:
If the handover fails and no agents were online, the endpoint would not throw any error and would return same 200 OK status code
New Behaviour:
If the handover fails because no agents were online, the endpoint will throw an error Response status code: 500 Response body:
{ "error": "Handover failed! No agents online" }