mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2025-09-07 17:29:44 +02:00
External-SOP: Properly map KeyCannotCertify error code
This commit is contained in:
parent
47a6db8702
commit
589884672a
1 changed files with 3 additions and 0 deletions
|
@ -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 ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue