mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
fix(CLI Onboarding): Only call handleError if plugin defined
This commit is contained in:
parent
80b76406ac
commit
a80681ffbf
@ -172,7 +172,9 @@ module.exports = {
|
||||
}
|
||||
);
|
||||
} catch (err) {
|
||||
interactiveOutputPlugin.handleError();
|
||||
if (interactiveOutputPlugin) {
|
||||
interactiveOutputPlugin.handleError();
|
||||
}
|
||||
throw err;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user