fixed a bug in the raven logger: the code that sends the message was not...

... waiting for the request to complete