Smalyshev added a comment.

  It's not very outdated, we still display exceptions as is. Unfortunately, we 
do not have the list, but frequent ones we may want to cover are:
  
  1. Syntax error (we handle this, but could display it nicer maybe)
  2. Missing prefix (kind of variant of syntax error but a bit different, maybe 
we can handle it nicer)
  3. Query timeout (we don't handle it at all, it looks kind of scary now)
  
  So my idea currently is maybe if we recognize error we know, display short 
info about it in the same place we had "Running query" bar. We still can leave 
the full exception for debugging purposes but at least casual user would know 
what's going on. If it's exception we do not know, we can display something 
like "query failed, this may be a bug, please tell us about it at [[link]]". 
This way we also get to improve our exception coverage as people would complain 
to us about exceptions we didn't cover.

TASK DETAIL
  https://phabricator.wikimedia.org/T113547

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Smalyshev
Cc: Jonas, Smalyshev, Aklapper, Spage, debt, Gehel, D3r1ck01, FloNight, Izno, 
jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to