Log failure instead of throwing an exception

Its better for an application to log a problem instead of shutting down as soon as on occurs.