added log_exception to exports