fix(@embark/deployment): only log error when error exists

This was a regression introduced in 72fc80df53
This commit is contained in:
Pascal Precht 2019-04-17 18:26:38 +02:00 committed by Pascal Precht
parent 740196684c
commit bf0f4392a4

View File

@ -108,7 +108,9 @@ class DeployManager {
});
}
], (err) => {
self.logger.error(err);
if (err) {
self.logger.error(err);
}
done(err);
});
});