Page MenuHomePhabricator

D16372.diff
No OneTemporary

D16372.diff

diff --git a/src/workflow/ArcanistPatchWorkflow.php b/src/workflow/ArcanistPatchWorkflow.php
--- a/src/workflow/ArcanistPatchWorkflow.php
+++ b/src/workflow/ArcanistPatchWorkflow.php
@@ -390,7 +390,8 @@
break;
}
} catch (ConduitClientException $ex) {
- if ($ex->getErrorCode() == 'ERR-INVALID-SESSION') {
+ if ($ex->getErrorCode() == 'ERR-INVALID-SESSION' ||
+ $ex->getErrorCode() == 'ERR-INVALID-AUTH') {
// Phabricator is not configured to allow anonymous access to
// Differential.
$this->authenticateConduit();

File Metadata

Mime Type
text/plain
Expires
Wed, May 7, 3:47 AM (1 d, 18 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7730477
Default Alt Text
D16372.diff (585 B)

Event Timeline