n8n 2.26.2 → 2.26.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3072,11 +3072,15 @@ let InstanceAiService = class InstanceAiService {
|
|
|
3072
3072
|
}
|
|
3073
3073
|
const errorMessage = getErrorMessage(error);
|
|
3074
3074
|
const userFacingErrorMessage = getUserFacingErrorMessage(error);
|
|
3075
|
-
this.logger.error(
|
|
3075
|
+
this.logger.error(`Instance AI run error: ${errorMessage}`, {
|
|
3076
3076
|
error: errorMessage,
|
|
3077
3077
|
threadId,
|
|
3078
3078
|
runId,
|
|
3079
3079
|
});
|
|
3080
|
+
this.errorReporter.error(error, {
|
|
3081
|
+
tags: { component: 'instance-ai-run' },
|
|
3082
|
+
extra: { threadId, runId },
|
|
3083
|
+
});
|
|
3080
3084
|
this.evaluateTerminalResponse(threadId, runId, 'errored', {
|
|
3081
3085
|
messageGroupId,
|
|
3082
3086
|
correlationId: messageId,
|
|
@@ -3770,11 +3774,15 @@ let InstanceAiService = class InstanceAiService {
|
|
|
3770
3774
|
}
|
|
3771
3775
|
const errorMessage = getErrorMessage(error);
|
|
3772
3776
|
const userFacingErrorMessage = getUserFacingErrorMessage(error);
|
|
3773
|
-
this.logger.error(
|
|
3777
|
+
this.logger.error(`Instance AI resumed run error: ${errorMessage}`, {
|
|
3774
3778
|
error: errorMessage,
|
|
3775
3779
|
threadId: opts.threadId,
|
|
3776
3780
|
runId: opts.runId,
|
|
3777
3781
|
});
|
|
3782
|
+
this.errorReporter.error(error, {
|
|
3783
|
+
tags: { component: 'instance-ai-run' },
|
|
3784
|
+
extra: { threadId: opts.threadId, runId: opts.runId },
|
|
3785
|
+
});
|
|
3778
3786
|
const messageGroupId = this.traceContextsByRunId.get(opts.runId)?.messageGroupId;
|
|
3779
3787
|
this.evaluateTerminalResponse(opts.threadId, opts.runId, 'errored', {
|
|
3780
3788
|
messageGroupId,
|