Skip to content
Snippets Groups Projects
Commit 24c05f55 authored by Julien Langlois's avatar Julien Langlois Committed by Jake Bell
Browse files

Issue #3391016 by Shreya_th, tido: Undefined method Error::decodeExceptionWithMessage

parent 42055bb5
No related branches found
No related tags found
No related merge requests found
......@@ -57,8 +57,8 @@ function encrypt_kms_requirements($phase) {
$requirements['aws-creds']['severity'] = REQUIREMENT_OK;
$requirements['aws-creds']['value'] = $result['UserId'];
}
} catch (Exception $e) {
\Drupal::logger('php')->error(Error::decodeExceptionWithMessage($e));
} catch (\Exception $e) {
\Drupal::logger('encrypt_kms')->error('Error: @message', ['@message' => $e->getMessage()]);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment