From e393e0f89e360b5420ef8cebee9ad77f228ebf50 Mon Sep 17 00:00:00 2001 From: Selim Mustafaev Date: Thu, 4 Jun 2020 20:11:40 +0300 Subject: [PATCH] adjust error message --- data_providers/avtocod.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data_providers/avtocod.js b/data_providers/avtocod.js index 84fdab3..494532a 100644 --- a/data_providers/avtocod.js +++ b/data_providers/avtocod.js @@ -45,9 +45,9 @@ function waitForReport(pubnubConfig, channel) { if(report != null) { resolve(report); } else { - reject(new Error('Request timed out')); + reject(new Error('Request to avtocod timed out')); } - }, 15000); + }, 20000); let pubnub = new PubNub(pubnubConfig); pubnub.addListener({