Skip to content

Commit 76bd27f

Browse files
07souravkundafrancisf
authored andcommitted
fix local stop debug log
1 parent a7f5696 commit 76bd27f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/helpers/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,9 +737,9 @@ exports.stopLocalBinary = (bsConfig, bs_local, args, rawArgs) => {
737737
let that = this;
738738
bs_local.stop(function (localStopError) {
739739
if (that.isUndefined(localStopError)) {
740-
logger.debug(`Stopping local binary failed with error ${localStopError}`);
741740
resolve();
742741
} else {
742+
logger.debug(`Stopping local binary failed with error ${localStopError}`);
743743
let message = `name: ${localStopError.name}, message: ${localStopError.message}, extra: ${localStopError.extra}`,
744744
errorCode = 'local_stop_error';
745745
that.sendUsageReport(

0 commit comments

Comments
 (0)