Azure / Azure/Azure-Functions

Improve error message for synctrigger failures from CLI

Open
#1,170 1 comment 1 reaction 1 assignee Assigned to @mathewc View on GitHub
GA:linuxconsumption platform:linux
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

We return the same error message irrespective of where sync triggers payload is incorrect / container provisioning failed.
----------------------

Preparing archive...

Upload completed successfully.
Deployment completed successfully.
Syncing triggers...
Syncing triggers...
Syncing triggers...
Syncing triggers...
Syncing triggers...
Syncing triggers...
func : Error calling sync triggers (BadRequest).
At line:1 char:1
+ func azure functionapp publish *********-dev-westus-functions - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Error calling s...s (BadRequest).:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.