Skip to content

Invalid query throws n.Term is not a constructor #1871

Closed

Description

@jcubic

I've noticed that the error message on the invalid token looks like this:

n.Term is not a constructor

When executing:

> xxxx

It looks like the invalid token is not handled and it just throws an unhandled exception.

You can see this on my Terminal App:

https://codepen.io/jcubic/pen/dVBaRm

Activity

  1. mathiasrw commented on Feb 3, 2024

    @mathiasrw
    Member

    What are you expecting from the query XXXX?

  2. jcubic commented on Feb 3, 2024

    @jcubic
    Author

    I expected a different error message, like "Invalid Query" or "Invalid Token", but the error is not handled and it throws an internal error.

  3. vishal6557 commented on Mar 17, 2024

    @vishal6557
    Contributor

    @mathiasrw Can you assign this to me? Thanks!

  4. jcubic commented on Mar 17, 2024

    @jcubic
    Author

    @vishal6557 Open Source project don't use assignment, especially for people that are outside the project. Where did you learn that project need to assign the task to you?

  5. vishal6557 commented on Mar 17, 2024

    @vishal6557
    Contributor

    @jcubic Thank you for your feedback! You're right—open-source projects flourish through collaboration and volunteer efforts. My goal was simply to offer help with this issue, aiming to contribute positively without overstepping.

  6. added a commit that references this issue on Mar 18, 2024
    35aa279
  7. mathiasrw commented on Mar 18, 2024

    @mathiasrw
    Member

    Fix released as part of v4.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions