From 143f571698c19e30d6b7b94fb309e20f2dd3e520 Mon Sep 17 00:00:00 2001 From: hiqdare Date: Fri, 2 Nov 2018 13:33:46 +0100 Subject: [PATCH] fix error message on create visual_recognition fixed error, when credentials for visual recognition were not provided, a error message relating to tone_analyzer was raised. --- lib/tjbot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tjbot.js b/lib/tjbot.js index c900224..bef41a8 100644 --- a/lib/tjbot.js +++ b/lib/tjbot.js @@ -540,7 +540,7 @@ TJBot.prototype._createServiceAPI = function(service, credentials) { }); } else { throw new Error( - 'Missing authentication credentials for tone_analyzer service: username/password or ' + + 'Missing authentication credentials for visual_recognition service: username/password or ' + 'apikey are required.'); } break;