Skip to content

site crashes when you run my code #43

Open
@Murat-Karakaya

Description

@Murat-Karakaya

Bug
The site simply becomes an empty page when you run a code given in the "To Reproduce" section in this message.

To Reproduce
Steps to reproduce the behavior:

  1. Go to here
  2. paste this code in the "Expression" input,
knex('hello-world').select('foo').where("name", false /* or you can pass 'false' as the second parameter*/)
  1. Now the website is simply blank.

Desktop:
The problem is not about browser, device or OS
it happens everywhere.

Smartphone
The problem is not about browser, device or OS
it happens everywhere.

Additional context
when the site turns blank, you can see an error in the console:
Uncaught TypeError: Cannot read properties of undefined (reading 'slice')
meaning something could be wrong in your redux code. But I find this very unlikely. I think you should put an error boundry.

I hope this helps.

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