chore(core): Change NodeOperationError default level to warning (no-changelog) (#11542)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-11-04 17:43:11 +01:00
committed by GitHub
parent 6b9353c80f
commit 3eb05e6df9

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;