Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AIRFLOW-1639] Fix Fernet error handling
When the encrypted string cannot be decryted using Fernet for some reason, an error will be thrown. In Python 3.6.2 the .message attr is not available. By casting the ValueError to a string, the message will be extracted from the Error. Closes apache#2629 from Fokko/AIRFLOW-1639-fix-error- handling (cherry picked from commit aedf8de) Signed-off-by: Bolke de Bruin <[email protected]>
- Loading branch information