spawnWorker: Fix TypeError for this.error undefined

Forgot to convert this as part of a6417cb0bb6a9.