use log_exception rather then critical