Push stopwritesonbgsaveerror to template rendering