fix: Fix task runner error propagation (no-changelog) (#11291)

This commit is contained in:
Tomi Turtiainen
2024-10-17 13:17:33 +02:00
committed by GitHub
parent d2266c93a7
commit d330b6b94a
5 changed files with 40 additions and 28 deletions

View File

@@ -21,10 +21,6 @@ export class WrappedExecutionError extends ApplicationError {
private copyErrorProperties(error: WrappableError) {
for (const key of Object.getOwnPropertyNames(error)) {
if (key === 'message' || key === 'stack') {
continue;
}
this[key] = error[key];
}
}