emit download even on error