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

Re: [tor-bugs] #17701 [metrics-lib]: ExitList descriptor chokes on getUnrecognizedLines()



#17701: ExitList descriptor chokes on getUnrecognizedLines()
-------------------------+-------------------------
 Reporter:  tomlurge     |          Owner:  karsten
     Type:  defect       |         Status:  new
 Priority:  Medium       |      Milestone:
Component:  metrics-lib  |        Version:
 Severity:  Normal       |     Resolution:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
  Sponsor:               |
-------------------------+-------------------------

Comment (by tomlurge):

 I added the getException() method in ConvertToJson (line 103 ff) like
 this:

 {{{
 //  tordnsel
 if (descriptor instanceof ExitList) {
   jsonDescriptor = JsonExitList.convert((ExitList) descriptor);
   System.out.print(descriptorFile.getException());
 }
 }}}

 but got neither exceptions nor JSON.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17701#comment:11>
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