variables: handler should catch errors before conflicts (#14591)

This commit is contained in:
Tim Gross 2022-09-14 13:14:17 -04:00 committed by GitHub
parent cebfbb0c28
commit 89dfdef95d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -169,6 +169,9 @@ func (sv *Variables) makeVariablesApplyResponse(
}
return &out, nil
}
if eResp.IsError() {
return &out, eResp.Error
}
// At this point, the response is necessarily a conflict.
// Prime output from the encrypted responses metadata