Skip to content

Commit 721fe0d

Browse files
.toString available to all values (ignoring undefined and null which we aren't covering), no need for fallback
1 parent 7e343e0 commit 721fe0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bundle-orchestrator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export class BundleOrchestrator extends Transform {
223223
callback();
224224
}
225225
catch (error) {
226-
this.logger.error("_flush completed with error", { error: error?.toString() ?? error });
226+
this.logger.error("_flush completed with error", { error: error.toString() });
227227
callback(new PluginError(PluginName, error));
228228
}
229229
}

0 commit comments

Comments
 (0)