Write if no error, ignore otherwise