fix(log): processError properly handles string parameter now

It won't attempt to iterate through string now.

Closes issue raised in lamassu/lamassu-server#40
We can get rid of the ```else``` with:

```
if (typeof response.error !== 'array') return new Error(response.error);
```