Log the exception locally when the API cannot be reached if it's enabled
in the configuration
Merge pull request #65 from jmazzi/feature/log_exception_locally

Log the exception locally when the API cannot be reached