From 879e85d07f8399fd4688c8a53577d5b54d3d4cdf Mon Sep 17 00:00:00 2001 From: Eneko Lakasta Date: Wed, 27 Jun 2018 15:17:38 +0200 Subject: [PATCH] add 'SQL query timeout expired error.' to DB timeout limit error message. --- app/services/error_handler_factory.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/services/error_handler_factory.js b/app/services/error_handler_factory.js index 0f211767..8bbbd19c 100644 --- a/app/services/error_handler_factory.js +++ b/app/services/error_handler_factory.js @@ -18,7 +18,8 @@ function isTimeoutError(err) { function createTimeoutError() { return new ErrorHandler({ - message: 'You are over platform\'s limits. Please contact us to know more details', + 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