diff --git a/app.js b/app.js index 3a4dc9c..388a77a 100644 --- a/app.js +++ b/app.js @@ -49,7 +49,7 @@ async function makeRpc(name, ...params){ const obj = await output.json(); if(obj.error) { const imATeapot = 418; - return { status: imATeapot, response: obj.error }; + return { status: imATeapot, response: obj.error.message }; } else { const ok = 200; return { status: ok, response: obj.result };