Print activation attempt status

This commit is contained in:
Johannes Zellner 2016-09-21 17:29:25 +02:00
parent 41fe7f3567
commit b1bdad343d

View File

@ -119,6 +119,8 @@ Cloudron.prototype.activate = function (user) {
if (res.statusCode === 409) {
debug('Response error statusCode:%s error:%s body:%j', res.statusCode, res.error, res.body);
throw new Error('Cloudron already activated! This should not happen');
} else {
debug('Response error will retry. statusCode:%s error:%s body:%j', res.statusCode, res.error, res.body);
}
}