mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: update log messages
This commit is contained in:
parent
9072d584a9
commit
25402e0db1
@ -60,14 +60,18 @@ export default class LlmNluHelper
|
||||
await this.getSettings();
|
||||
|
||||
if (settings) {
|
||||
this.logger.log(`Llm Nlu Helper Settings successfully loaded`);
|
||||
return settings;
|
||||
}
|
||||
|
||||
this.logger.warn(
|
||||
`Settings not available yet, retrying... (${retryCount + 1}/${maxRetries})`,
|
||||
`Llm Nlu Helper Settings not available yet, retrying... (${retryCount + 1}/${maxRetries})`,
|
||||
);
|
||||
} catch (error) {
|
||||
this.logger.error('Error while loading settings:', error);
|
||||
this.logger.error(
|
||||
'Error while loading Llm Nlu Helper Settings:',
|
||||
error,
|
||||
);
|
||||
return undefined;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user