Fix scope for subscriber error event