Commit ca8f1908 authored by Eelco van der Wel's avatar Eelco van der Wel :speech_balloon:
Browse files

Merge branch 'add-pod-restart-status-code' into 'dev'

Add a dedicated status code for plugin key decryption error

See merge request !281
parents b7a6425e 4c21ecbc
Pipeline #6544 passed with stages
in 27 minutes and 25 seconds
Showing with 1 addition and 1 deletion
+1 -1
......@@ -19,7 +19,7 @@ impl From<chacha20poly1305::aead::Error> for Error {
fn from(err: chacha20poly1305::aead::Error) -> Error {
let msg = format!("Error in symmetric encryption cypher, {}", err);
Error {
code: StatusCode::INTERNAL_SERVER_ERROR,
code: StatusCode::MISDIRECTED_REQUEST,
msg,
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment