Don't throw errors in optimizer (#24660)
This commit is contained in:
parent
3a2db6e38f
commit
b093fddee8
|
@ -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'))
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue