Fix admin-user-helper

This commit is contained in:
blagoev 2017-08-17 14:49:47 +03:00 committed by Thomas Goyne
parent 1e5c8b95e1
commit f5a940fd0c
1 changed files with 5 additions and 2 deletions

View File

@ -42,8 +42,11 @@ exports.createAdminUser = function () {
sync: { sync: {
user: admin_token_user, user: admin_token_user,
url: `realm://localhost:9080/__admin`, url: `realm://localhost:9080/__admin`,
error: err => error: err => {
console.log('Error opening __admin realm ' + err.user + ' ' + err.url + ' ' + err.state), const error = new Error('Error opening __admin realm error:' + err.user + ' url:' + err.url + ' state:' + err.state)
console.log(error);
reject(error);
}
} }
}; };