diff --git a/src/optimize/base_optimizer.js b/src/optimize/base_optimizer.js index dceb7b8c44be4..386d0c9748a72 100644 --- a/src/optimize/base_optimizer.js +++ b/src/optimize/base_optimizer.js @@ -427,7 +427,7 @@ export default class BaseOptimizer { Stats.presetToOptions('minimal') )); - throw Boom.internal( + return Boom.internal( `Optimizations failure.\n${details.split('\n').join('\n ')}\n`, stats.toJson(Stats.presetToOptions('detailed')) );