Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion client_encryption/api_encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ def decrypt_field_level_payload(headers, conf, body):
return body

decrypted_body = decrypt_field_level(body, conf, params)
payload = json.dumps(decrypted_body).encode('utf-8')
try:
payload = json.dumps(decrypted_body).encode('utf-8')
except:
payload = decrypted_body

return payload

Expand Down
2 changes: 1 addition & 1 deletion client_encryption/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
__version__ = "1.20.0"
__version__ = "1.21.0"