Catch when a metadata provider fails.

Catch the exception and log it to the server's logger.