Skip to content

Internally doesn't throw exception #187

@siscia

Description

@siscia

Hi,

I lost a solid hour try to debuging a trivial problem.

Basically I was returrning a map with unique key was :resource I guess that such map was combined with the context and when liberator try to access a field like (-> ctx :resource :whatever) it blowed up because (ctx :resource) wasn't a map anymore.

It was weird because I couldn't get the exception, it just said "500 Internal Error" and didn't throw any exception.

Why Liberator didn't throw any exception ? It is the desired behaviour ?
If not how we can fix that ?

Greets

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions