Format message before adding loggly metadata

Also removed a throw err inside an asynchronous callback.