From 2bb28b55780b2a0a6231501a590888dc3819fda0 Mon Sep 17 00:00:00 2001 From: Eneko Lakasta Date: Wed, 27 Jun 2018 15:43:06 +0200 Subject: [PATCH] remove line break in the error message --- app/services/error_handler_factory.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/services/error_handler_factory.js b/app/services/error_handler_factory.js index 8bbbd19c..0d8fc975 100644 --- a/app/services/error_handler_factory.js +++ b/app/services/error_handler_factory.js @@ -18,8 +18,8 @@ function isTimeoutError(err) { function createTimeoutError() { return new ErrorHandler({ - message: `You are over platform\'s limits. Please contact us to know more details. - SQL query timeout expired error.`, + message: 'You are over platform\'s limits. Please contact us to know more details.' + + 'SQL query timeout expired error.', context: 'limit', detail: 'datasource', http_status: 429