Added 'error' property on jwr which is auto-set based on the statuscode.
Cleanup logs