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
:+1: