pass err as first argument, bunyan understands them.