@ -197,7 +197,7 @@ export default class Alias extends Now {
this._agent._initAgent()
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)}`)
}
const {created, uid} = newAlias