[tor-bugs] #33460 [Core Tor/Tor]: confmgt: include variable name in all complaints.

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 26 17:21:17 UTC 2020


#33460: confmgt: include variable name in all complaints.
-----------------------------+---------------------------------------------
     Reporter:  nickm        |      Owner:  nickm
         Type:  enhancement  |     Status:  assigned
     Priority:  Medium       |  Milestone:  Tor: 0.4.3.x-final
    Component:  Core         |    Version:
  Tor/Tor                    |
     Severity:  Normal       |   Keywords:  ui, ux, ui-regression 043-may??
Actual Points:               |  Parent ID:
       Points:  .1           |   Reviewer:
      Sponsor:               |
-----------------------------+---------------------------------------------
 When we give a msg about failing to parse a variable, we should say what
 the variable was, and ideally what was wrong with it.

 Compare the results for running `./src/app/tor UseBridges 99` in 0.3.5 and
 in master.  With 0.3.5 you got: `Boolean 'UseBridges 99' expects 0 or 1.`
 but now you get `Unrecognized value 99.`

 Let's make that better.

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


More information about the tor-bugs mailing list