enterprisemediawiki / Wiretap

User pageview tracking for MediaWiki
4 stars 6 forks source link

Wiretap should fail gracefully when trying visiting a filter that returns no data #24

Open darenwelsh opened 4 years ago

darenwelsh commented 4 years ago

For example, when viewing the page index.php?title=Special:Wiretap&filterUser=asdfasdfasdf (for a user that does not have any hits), the following error is returned:

[XXuK6mU1-h1hil-LOlnKZgAAAAE] 2019-09-13 12:26:19: Fatal exception of type "Error"

Instead, it should either report that the username does not exist or that user has no history of viewing the wiki.