Skip to content

Commit

Permalink
Don't throw errors in optimizer (#24660)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdover authored Oct 26, 2018
1 parent 3a2db6e commit b093fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/optimize/base_optimizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
);
Expand Down

0 comments on commit b093fdd

Please sign in to comment.