More verbosity when writing to Mixpanel fails

Hey!

Right now we're experiencing an occasional error where 'Could not write to Mixpanel' occurs. That's not a very helpful error message and hard to debug with, so here's a simple implementation of something more verbose :)

I haven't yet actually managed to reproduce the error with this patch, but hopefully his helps us and others.