Re-add log on error