Wrong match on json decode error #916
Labels
app:realm_management
This issue or pull request is about astarte_realm_management application
internals
This issue or pull request is about implementation details
Description
The library
jason
was adopted afterpoison
but the errors were not updatedExpected Behavior
Current Behavior
see here:
astarte/apps/astarte_realm_management/lib/astarte_realm_management/engine.ex
Line 97 in c335319
astarte/apps/astarte_realm_management/lib/astarte_realm_management/engine.ex
Line 176 in c335319
Additional Information
The fix of the issue could be also just removing the error handling since the json is already validated by api so it shouldn't fail
The text was updated successfully, but these errors were encountered: