[tor-bugs] #22594 [Metrics/Onionoo]: Escape characters in contact lines break hourly updater

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Jun 17 07:07:43 UTC 2017


#22594: Escape characters in contact lines break hourly updater
-----------------------------+------------------------------
 Reporter:  karsten          |          Owner:  metrics-team
     Type:  defect           |         Status:  new
 Priority:  High             |      Milestone:
Component:  Metrics/Onionoo  |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------------

Comment (by karsten):

 Replying to [comment:1 iwakeh]:
 > Regarding the hot-fix I would suggest to catch any Throwable in the
 above patch in order to also have possible future Gson exceptions logged.
 >
 > Maybe, a switch to a fully JSON compliant library would also help, but
 that and possible other solutions need more time, that's true.

 I just pushed the hotfix to master, which now catches `Throwable`.

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


More information about the tor-bugs mailing list