chore(core): Change NodeOperationError default level to warning (no-changelog) (#11542)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2024-11-04 17:43:11 +01:00 committed by GitHub
parent 6b9353c80f
commit 3eb05e6df9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,7 +29,7 @@ export class NodeOperationError extends NodeError {
} }
if (options.message) this.message = options.message; if (options.message) this.message = options.message;
if (options.level) this.level = options.level; this.level = options.level ?? 'warning';
if (options.functionality) this.functionality = options.functionality; if (options.functionality) this.functionality = options.functionality;
if (options.type) this.type = options.type; if (options.type) this.type = options.type;
this.description = options.description; this.description = options.description;