From 6b042504b057620b90eb65838e5ccb1061bbee3f Mon Sep 17 00:00:00 2001 From: rr- Date: Sun, 28 Aug 2016 19:39:34 +0200 Subject: [PATCH] client/home: fix reporting backend errors The code mistakenly referred to a non-existing field. Now it matches the rest of the error handlers. --- client/js/models/info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/js/models/info.js b/client/js/models/info.js index d3ea505d..334d2287 100644 --- a/client/js/models/info.js +++ b/client/js/models/info.js @@ -16,7 +16,7 @@ class Info { undefined })); }, response => { - return Promise.reject(response.errorMessage); + return Promise.reject(response.description); }); } }