• Seth Hinze's avatar
    Fix logging of AsyncSocket connection failed exceptions · 47667233
    Seth Hinze authored
    Summary:
    When log verbosity is sufficiently high, the logging of AsyncSocket connection exceptions triggers the following assert:
    ```
      assert(typeid(ex) == typeid(std::decay_t<Ex>) ||
           !"Dynamic and static exception types don't match. Exception would "
            "be sliced when storing in exception_wrapper.");
    ```
    Update the log to output `e.what()`, which all of the other exception logs already do.
    
    Reviewed By: yfeldblum
    
    Differential Revision: D26799863
    
    fbshipit-source-id: f9d98f81a77a654e78a153bc5c23e6ec8223fa1f
    47667233
AsyncSocket.cpp 113 KB