[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #28494 [Core Tor/Stem]: Please provide an equivalent for UnparseableDescriptor from metrics-lib



#28494: Please provide an equivalent for UnparseableDescriptor from metrics-lib
-------------------------------+--------------------
     Reporter:  irl            |      Owner:  atagar
         Type:  enhancement    |     Status:  new
     Priority:  Medium         |  Milestone:
    Component:  Core Tor/Stem  |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+--------------------
 When something wasn't able to be parsed, we'd still like to be able to
 save the bytes to be able to analyse it later. Instead of throwing a
 TypeError, please allow for an UnparseableDescriptor to be returned
 instead. This could be behaviour that is switched by a keyword argument on
 parse_file (and parse_bytes once implemented) or it could just be the
 default to try it hardest to return something instead of throwing the
 error.

 https://metrics.torproject.org/metrics-
 lib/org/torproject/descriptor/UnparseableDescriptor.html

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28494>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs