chore(core.gbapp): Improving error message for NPL.
This commit is contained in:
parent
c1c6d56ab5
commit
4b20878562
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ export class GBConversationalService implements IGBConversationalService {
|
||||||
nlp = await model.recognize(step.context);
|
nlp = await model.recognize(step.context);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error.statusCode === 404) {
|
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);
|
return Promise.resolve(false);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue