Homestyx hydra
Diffusion hydra da7d92dd0a4e

Catch more HTTP VCS errors and convert them into VCS repsonses

Description

Catch more HTTP VCS errors and convert them into VCS repsonses

Summary:
Ref T13590. Currently, errors arising from cluster locking (like the "stuck write lock" exception) are not caught and converted into VCS responses on the HTTP VCS workflow.

Catch a broader range of exceptions and convert them into appropriate responses.

Test Plan:

  • Forced a "stuck write lock" exception, pushed to a Git repository over HTTP.
  • Before: generic fatal.
  • After: VCS-specific fatal with a useful message in the "X-Phabricator-Message" response header.

Maniphest Tasks: T13590

Differential Revision: https://secure.phabricator.com/D21525

Details

Provenance
epriestleyAuthored on Jan 26 2021, 6:39 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:32c82a53deb4: After loading the effective Viewer during a VCS request, flag them for inline…
Branches
Unknown
Tags
Unknown

Event Timeline