here and elsewhere-

I am 80% sure you want this instead:

```js
callback(new Error('url is empty'));
```