Commit edd10ec
Improve publish error message when public network access is disabled (#4807)
* Initial plan
* Improve publish action error message for SSL/network connection failures
When public networking is disabled for an Azure Function App, deployments
fail with the unhelpful 'The SSL connection could not be established, see
inner exception.' message.
This change:
- Adds PublishNetworkingError constant with an improved message explaining
the likely cause and an aka.ms link for guidance
- Wraps publish operations in RunAsync() with an HttpRequestException catch
that provides the improved error message while preserving the original
error details
Co-authored-by: liliankasem <2198905+liliankasem@users.noreply.github.com>
* Update networking docs link and add release note entry for PR #4807
Co-authored-by: liliankasem <2198905+liliankasem@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: liliankasem <2198905+liliankasem@users.noreply.github.com>
Co-authored-by: Lilian Kasem <likasem@microsoft.com>1 parent e63fca5 commit edd10ec
3 files changed
Lines changed: 17 additions & 5 deletions
File tree
- src/Cli/func
- Actions/AzureActions
- Common
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
240 | 241 | | |
241 | 242 | | |
242 | 243 | | |
243 | | - | |
| 244 | + | |
244 | 245 | | |
245 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
246 | 254 | | |
247 | | - | |
| 255 | + | |
248 | 256 | | |
249 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
250 | 260 | | |
251 | 261 | | |
252 | 262 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
0 commit comments