diff --git a/core/app.js b/core/app.js index 1d41ce7e..8f2c2ab6 100644 --- a/core/app.js +++ b/core/app.js @@ -98,7 +98,12 @@ function socket(request, response, client) { packageName = match[2]; blobId = await new Database(packageOwner).get('path:' + packageName); if (!blobId) { - response.send(JSON.stringify({action: "error", error: message.path + ' not found'}), 0x1); + response.send(JSON.stringify({ + message: 'tfrpc', + method: "error", + params: [message.path + ' not found'], + id: -1, + }), 0x1); return; } if (packageOwner != 'core') {