You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When querying the application for MDN docs, it hangs forever. Based on the source code its likely that it throws an error, which is then logged, but this is never returned to the user, creating an illusion of the bot hanging forever.
Example queries:
Array.filter
Array.filter()
Sort
Array.prototype.sort
Array.prototype.sort()
string
number
Why this is a problem
The consequence of this issue is that the requested data nor any error message is ever returned to the user.
Expcted outcome
The expected outcome of querying the bot is that the result is returned to the user, or an error if there is no way to handle the query or the data that comes from it.
Proposed solution
The most logical solution (imo) would be divided in three parts:
Return any error message to the user to give clear feedback regardless of the outcome
Slice the message to avoid overlengthy embeds
Add paging to the results to avoid cutting out important information
The text was updated successfully, but these errors were encountered:
Summary
When querying the application for MDN docs, it hangs forever. Based on the source code its likely that it throws an error, which is then logged, but this is never returned to the user, creating an illusion of the bot hanging forever.
Example queries:
Why this is a problem
The consequence of this issue is that the requested data nor any error message is ever returned to the user.
Expcted outcome
The expected outcome of querying the bot is that the result is returned to the user, or an error if there is no way to handle the query or the data that comes from it.
Proposed solution
The most logical solution (imo) would be divided in three parts:
The text was updated successfully, but these errors were encountered: