Skip to content

Commit 0f18cd6

Browse files
authored
{App Service} az functionapp deployment source: Add exception handler (#26402)
1 parent 7ef8f9e commit 0f18cd6

File tree

1 file changed

+3
-3
lines changed
  • src/azure-cli/azure/cli/command_modules/appservice

1 file changed

+3
-3
lines changed

src/azure-cli/azure/cli/command_modules/appservice/commands.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,9 @@ def load_command_table(self, _):
366366
g.custom_command('config-local-git', 'enable_local_git')
367367
g.custom_command('config-zip', 'enable_zip_deploy_functionapp')
368368
g.custom_command('config', 'config_source_control', exception_handler=ex_handler_factory())
369-
g.custom_command('sync', 'sync_site_repo')
370-
g.custom_show_command('show', 'show_source_control')
371-
g.custom_command('delete', 'delete_source_control')
369+
g.custom_command('sync', 'sync_site_repo', exception_handler=ex_handler_factory())
370+
g.custom_show_command('show', 'show_source_control', exception_handler=ex_handler_factory())
371+
g.custom_command('delete', 'delete_source_control', exception_handler=ex_handler_factory())
372372
g.custom_command('update-token', 'update_git_token', exception_handler=ex_handler_factory())
373373

374374
with self.command_group('functionapp deployment user', webclient_sdk) as g:

0 commit comments

Comments
 (0)