add some debugging to raven code
Merge branch 'master' into production