question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Errors when search result returns nothing.

See original GitHub issue

When a search result in anime watch --new returns nothing (i.e. anime watch --new "Kanpai"), it still displays a list of search results, even though it’s completely empty. image

If you select an option, it aborts the search, telling you to input a number less than 31: image

I think this should be made more graceful. There should either be an option for the user to abort the search on their own or it should tell the user that there are no search results and then abort.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
enderleincommented, Jun 18, 2018

No problem at all. I’ll keep looking.

0reactions
vn-kicommented, Jun 19, 2018

#14 closes this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

If search returns nothing give error - Stack Overflow
This is the code that my search form is using, however the echo"no results" shows on the homepage above all of the results,...
Read more >
Should an empty search box return an error message or all ...
Since the search engine is looking for individual items in database and not specific content within the site, I'm thinking that returning all ......
Read more >
SharePoint Online doesn't return search results - Microsoft Learn
No search results are returned for existing content. You receive the following error message: Sorry, something went wrong.
Read more >
Search results page empty – No error in debug.log
Hello I'm desperately trying to get my Search results template page to show up some results using Advanced Woocommerce Search plugin.
Read more >
Excel SEARCH function not returning expected results
So I want to error catch this, using the SEARCH portion of formula. The problem is, the SEARCH for the error catch is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found