diff --git a/lib/cli/interactive-setup/deploy.js b/lib/cli/interactive-setup/deploy.js index 16c5d0345..f812b0cb3 100644 --- a/lib/cli/interactive-setup/deploy.js +++ b/lib/cli/interactive-setup/deploy.js @@ -172,7 +172,9 @@ module.exports = { } ); } catch (err) { - interactiveOutputPlugin.handleError(); + if (interactiveOutputPlugin) { + interactiveOutputPlugin.handleError(); + } throw err; }