Skip to content

Parse ASYNC used with 2 unimplemented functions cause UnhandledPromiseRejectionWarning #44

@KageAkuma75

Description

@KageAkuma75

Hi Lester,

I have an issue with parseAsync :

If both arguments use not implemented function then we have an UnhandledPromiseRejectionWarning.

You can reproduce with this formula "SUM(NOTIMP1(2,1), NOTIMP2(3,4))"

I found a workaround by changing line 191 of /grammar/hooks.js from
'throw FormulaError.NOT_IMPLEMENTED(name);' to
'return FormulaError.NOT_IMPLEMENTED(name);' and it seems to work.

Best regards,

Jacques Loriot

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