fix(AWS S3 Node): Fix File upload, and add node tests (#6153)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-05-02 15:29:07 +00:00
committed by GitHub
parent a0dd17e115
commit deb4c04f34
8 changed files with 242 additions and 40 deletions

View File

@@ -373,7 +373,7 @@ export class NodeApiError extends NodeError {
this.message = STATUS_CODE_MESSAGES['5XX'];
break;
default:
this.message = UNKNOWN_ERROR_MESSAGE;
this.message = this.message || UNKNOWN_ERROR_MESSAGE;
}
if (this.node.type === 'n8n-nodes-base.noOp' && this.message === UNKNOWN_ERROR_MESSAGE) {
this.message = `${UNKNOWN_ERROR_MESSAGE_CRED} - ${this.httpCode}`;