mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 19:00:59 +03:00
fix: correct Lunary tool-error logging (#5505)
fix: log lunary tool errors with the correct run id
This commit is contained in:
@@ -1774,7 +1774,7 @@ export class AnalyticHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (Object.prototype.hasOwnProperty.call(this.handlers, 'lunary')) {
|
if (Object.prototype.hasOwnProperty.call(this.handlers, 'lunary')) {
|
||||||
const toolEventId: string = this.handlers['lunary'].llmEvent[returnIds['lunary'].toolEvent]
|
const toolEventId: string = this.handlers['lunary'].toolEvent[returnIds['lunary'].toolEvent]
|
||||||
const monitor = this.handlers['lunary'].client
|
const monitor = this.handlers['lunary'].client
|
||||||
|
|
||||||
if (monitor && toolEventId) {
|
if (monitor && toolEventId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user