Skip to content

Error thrown when updating #151

@Oted

Description

@Oted

Hi!

So it seems like when doing an update with an invalid date value, the update causes vogels to throw an error with the following stack trace

RangeError: Invalid time value at Date.toISOString (native) at Object.internals.serialize.date
(/var/task/node_modules/cattle/node_modules/vogels/lib/serializer.js:35:30) at
Object.internals.serializeAttribute.serializer.serializeAttribute

It seems to me like the error should come back in the update callback instead of throwing an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions