I added an exception handler for the base class of std::exception: this will future proof all other std::exception derived exceptions. It also fixes the problem with JSON parsing errors crashing entwine.
I also added the catch all, in case some future library doesn't derive from std::exception, with the thinking that It is far better to write something out on stdout/stderr than just crash. See https://github.com/connormanning/entwine/issues/264
I added an exception handler for the base class of std::exception: this will future proof all other std::exception derived exceptions. It also fixes the problem with JSON parsing errors crashing entwine.
I also added the catch all, in case some future library doesn't derive from std::exception, with the thinking that It is far better to write something out on stdout/stderr than just crash. See https://github.com/connormanning/entwine/issues/264