[hyperlog] Catch the correct type of exception
[hyperlog] Fix previous commit

Old version of boost does not get the overload of << for system::error, so just
rely on what() which is implemented on all boost version