Fix transient-map not triggering on error