Print activation attempt status
This commit is contained in:
parent
41fe7f3567
commit
b1bdad343d
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user