diff --git a/packages/webpack-plugin/src/index.js b/packages/webpack-plugin/src/index.js index 199f824..4c40978 100644 --- a/packages/webpack-plugin/src/index.js +++ b/packages/webpack-plugin/src/index.js @@ -29,7 +29,12 @@ class BundleAnalyzer { }) .then(() => callback()) .catch(error => { - callback(new Error(`Bundle Analyzer - ${error.message}`)) + // eslint-disable-next-line no-console + console.error(`Bundle Analyzer - ${error.message}`) + // eslint-disable-next-line no-console + console.info(`Bundle Analyzer - Stats failed to upload. Continuing build...`) + + callback() }) }, )