chore(core.gbapp): Improving error message for NPL.

This commit is contained in:
Rafael Arenario Pereira da Silva 2019-02-23 18:20:21 -03:00
parent c1c6d56ab5
commit 4b20878562

View file

@ -104,7 +104,7 @@ export class GBConversationalService implements IGBConversationalService {
nlp = await model.recognize(step.context);
} catch (error) {
if (error.statusCode === 404) {
logger.warn('NLP application still not publish and there are no other options for answering.');
logger.warn('NLP application still not publish and there are no other options for answering, please associate the key on NLP portal.');
return Promise.resolve(false);
} else {