|
@ -197,7 +197,7 @@ export default class Alias extends Now { |
|
|
this._agent._initAgent() |
|
|
this._agent._initAgent() |
|
|
|
|
|
|
|
|
const newAlias = await this.createAlias(depl, alias) |
|
|
const newAlias = await this.createAlias(depl, alias) |
|
|
if (!newAlias || !newAlias.created) { |
|
|
if (!newAlias) { |
|
|
throw new Error(`Unexpected error occurred while setting up alias: ${JSON.stringify(newAlias)}`) |
|
|
throw new Error(`Unexpected error occurred while setting up alias: ${JSON.stringify(newAlias)}`) |
|
|
} |
|
|
} |
|
|
const {created, uid} = newAlias |
|
|
const {created, uid} = newAlias |
|
|