influxdata / influxdb-csharp

A .NET library for efficiently sending points to InfluxDB 1.x

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error Collector doesn't return useful information

bladefist opened this issue · comments

commented

I had an error where I was submitting my 1,000,0001th tag value and Influx was returning a very descriptive error about why my data was failing.

But my CollectorLog.RegisterErrorHandler((message, exception) was returning "BadRequest", nothing else. Had to man in the middle the request to figure out why it was failing.

Can you include the influxdb error into the message?

Thanks for the note, @bladefist - sounds like it would be a great improvement. Any help with shaping up a solution welcome 👍