Canges the logging_handler to raise exceptions

This changes the logging process so that if any result hashes are returned that have a status of `:failure` then an exception is raised with the message associated with that status. This is intended to ensure that exceptions propagate up through the logger to the calling function.