diff --git a/services/web/webpack.config.prod.js b/services/web/webpack.config.prod.js index c8f4aa41f5..e8e2f6738a 100644 --- a/services/web/webpack.config.prod.js +++ b/services/web/webpack.config.prod.js @@ -45,8 +45,8 @@ module.exports = merge.smart( minimizer: [ new TerserPlugin({ terserOptions: { - keep_classnames: /Error$/, - keep_fnames: /Error$/, + keep_classnames: /(Error|Exception)$/, + keep_fnames: /(Error|Exception)$/, }, }), new OptimizeCssAssetsPlugin(),