mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
api: another bugfix in the status endpoint
This commit is contained in:
parent
be4091a8b1
commit
4ccc101f9e
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ protected:
|
|||
|
||||
ret = lws_json_dump_context(ctx, buf, sizeof(buf), 0);
|
||||
if (ret)
|
||||
throw Error();
|
||||
throw Error(HTTP_STATUS_INTERNAL_SERVER_ERROR, "Failed to dump LWS context");
|
||||
|
||||
return json_loads(buf, 0, nullptr);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue