log_fatal on error