Change logging level to error on exception being thrown

@jburel quick fix for increasing the logging level when an exception is thrown