External-SOP: Properly map KeyCannotCertify error code

This commit is contained in:
Paul Schaub 2025-06-02 12:53:46 +02:00
parent 47a6db8702
commit 589884672a
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -189,6 +189,9 @@ class ExternalSOP(
CertUserIdNoMatch.EXIT_CODE ->
throw CertUserIdNoMatch(
"External SOP backend reported error CertUserIdNoMatch ($exitCode):\n$errorMessage")
KeyCannotCertify.EXIT_CODE ->
throw KeyCannotCertify(
"External SOP backend reported error KeyCannotCertify ($exitCode):\n$errorMessage")
// Did you forget to add a case for a new exception type?
else ->