Add bad input to Uri in exception messages
authorRajat Goel <rajatgoel2010@fb.com>
Wed, 2 Oct 2013 03:07:23 +0000 (20:07 -0700)
committerPeter Griess <pgriess@fb.com>
Tue, 15 Oct 2013 01:44:30 +0000 (18:44 -0700)
commit3437a0284f8d5311e48f3b9532e51f532a3148b2
tree3e1460b9040ea4751a8734e819ef5e95f503a592
parente3a49e3d201be73c383fceb5e226f4ed54461d4b
Add bad input to Uri in exception messages

Summary:
It helps if you can directly see the offending URI from the error
message (specially when you dont want to handle errors and let process crash).

@override-unit-failures

Test Plan: unit-tests

Reviewed By: andrei.alexandrescu@fb.com

FB internal diff: D993025
folly/Uri.cpp
folly/test/UriTest.cpp