Guard sc_log_print_summary against option error