diff --git a/src/commands/migrate.js b/src/commands/migrate.js index 9fc7740..48361a4 100644 --- a/src/commands/migrate.js +++ b/src/commands/migrate.js @@ -45,7 +45,8 @@ function register(program) { parsedUrl.username = "USER"; parsedUrl.password = "PASS"; } catch (error) { - log("Error parsing URL", error); + log(error.stack || error, "error"); + process.exit(1); }