Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion extensions/azurePublish/src/node/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,10 @@ export class BotProjectDeploy {
`Token expired, please run az account get-access-token, then replace the accessToken in your configuration`
);
} else {
const errorMessage = JSON.stringify(err, Object.getOwnPropertyNames(err));
throw createCustomizeError(
AzurePublishErrors.DEPLOY_ZIP_ERROR,
`The hostname is invalid, please check if hostname/name-environment matches your target resource(webapp/function) name`
`There was a problem publishing bot assets (zip deploy). ${errorMessage}`
);
}
}
Expand Down