Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomple should log error to the console or something #621

Open
DetachHead opened this issue Sep 7, 2023 · 0 comments
Open

Autocomple should log error to the console or something #621

DetachHead opened this issue Sep 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@DetachHead
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Autocomplete.svelte contains the following code:

      {#if loading}
        <Item disabled>
          <slot name="loading">
            <Text>Loading...</Text>
          </slot>
        </Item>
      {:else if error}
        <Item disabled>
          <slot name="error">
            <Text>Error while fetching suggestions.</Text>
          </slot>
        </Item>

Expected behavior
it should also log error to the console, as currently it's very difficult to debug errors in the search function

Screenshots
image

@DetachHead DetachHead added the bug Something isn't working label Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant