This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 7f5b0e5749a0a8989309d483a250d1632e8e458b Author: Kevin Morin <morin@codelutin.com> Date: Tue May 30 12:13:27 2017 +0200 revert commit --- pollen-ui-riot-js/src/main/web/js/Error.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/js/Error.js b/pollen-ui-riot-js/src/main/web/js/Error.js index a36072f..b4b82f6 100644 --- a/pollen-ui-riot-js/src/main/web/js/Error.js +++ b/pollen-ui-riot-js/src/main/web/js/Error.js @@ -32,11 +32,7 @@ class Error { } else if (typeof e === "string" || e instanceof String) { this.message = e; } else { - if (e.message) { - this.message = e.message; - } else { - this.message = Object.values(e).reduce((messages, messagesfield) => messages.concat(messagesfield), []); - } + this.message = Object.values(e).reduce((messages, messagesfield) => messages.concat(messagesfield), []); } if (!this.timeout) { this.timeout = timeout; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.