Skip to content

Commit

Permalink
.toString available to all values (ignoring undefined and null
Browse files Browse the repository at this point in the history
…which we aren't covering), no need for fallback
  • Loading branch information
Silic0nS0ldier committed Apr 18, 2020
1 parent 7e343e0 commit 721fe0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bundle-orchestrator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export class BundleOrchestrator extends Transform {
callback();
}
catch (error) {
this.logger.error("_flush completed with error", { error: error?.toString() ?? error });
this.logger.error("_flush completed with error", { error: error.toString() });
callback(new PluginError(PluginName, error));
}
}
Expand Down

0 comments on commit 721fe0d

Please sign in to comment.