ctreffe / alfred

Alfred - A library for rapid experiment development
MIT License
10 stars 1 forks source link

More informative encryption errors #189

Open ctreffe opened 2 years ago

ctreffe commented 2 years ago

When alfred's encryption method fails, the error message is not very informative, since the type or content of the object that could not successfully encrypted is not reported. Maybe we could improve error messages on encryption by printing at least the type of the input which was passed to the encryption method. This helps with a common error: Users accidentally pass a type of input that can not be encrypted.