queue: make non-recoverable errors crash with assert(false)