show warning when limit exceeds search api max#3967
Conversation
e48304e to
83b5f4e
Compare
|
I moved the |
83b5f4e to
53f625b
Compare
53f625b to
7b486a4
Compare
mislav
left a comment
There was a problem hiding this comment.
@despreston Your approach worked but I've found it to be a code smell that information about the search cap was passed via error values rather than by other means. Additionally, warnings such as these should be printed to stderr regardless of isTerminal status. Finally, I've found that listing issues would print a warning about the search cap even when the Search API was not used.
I've pushed my own approach to solve these issues, which I think is simpler as well. Please review!
7b486a4 to
619333a
Compare
|
lgtm |
Fixes #3839
Closes #3839