-
-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Faulty code:
fief/fief/apps/dashboard/routers/roles.py
Lines 188 to 194 in 0d39811
| send_task( | |
| on_role_updated, | |
| str(role.id), | |
| set(map(str, added_permissions)), | |
| set(map(str, deleted_permissions)), | |
| str(workspace.id), | |
| ) |
set objects are not encodable by the JSON encoder of Dramatiq.
The error is not catched by unit tests because send_task is fully mocked. This needs to be improved as well so we can catch this kind of errors.
Sentry: https://fief.sentry.io/issues/4182696675/events/b382c75c7647401c9c5c0d4770e124d7/
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working