[tor-bugs] #24078 [Metrics/Bot]: metrics-bot should have a better error message when a country has no relays

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 13 23:00:17 UTC 2018


#24078: metrics-bot should have a better error message when a country has no relays
-------------------------+------------------------
 Reporter:  pastly       |          Owner:  irl
     Type:  defect       |         Status:  closed
 Priority:  Medium       |      Milestone:
Component:  Metrics/Bot  |        Version:
 Severity:  Normal       |     Resolution:  fixed
 Keywords:               |  Actual Points:  0.04
Parent ID:               |         Points:  0.1
 Reviewer:               |        Sponsor:
-------------------------+------------------------
Changes (by irl):

 * status:  accepted => closed
 * resolution:   => fixed
 * actualpoints:   => 0.04


Comment:

 metrics-bot does not know about countries that exist unless they have
 relays in them, but I've added validation that at least it's a two letter
 country code being specified with a different message if that validation
 fails. Similarly, there is a new message for when an AS number is
 specified that is not a number, as again metrics-bot only knows about ASs
 when they have relays in them.

 This is fixed in ad3d807.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24078#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list