Skip to content

Commit

Permalink
Fix exception propagation.
Browse files Browse the repository at this point in the history
  • Loading branch information
kostko committed Jun 23, 2017
1 parent 9094352 commit c4cc843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datastream/backends/influxdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@ def _append_multiple(self, datapoints, raw=False):
batch_size=1000,
)
except influxdb.exceptions.InfluxDBServerError as error:
raise exceptions.StreamAppendFailed(error.content)
raise exceptions.StreamAppendFailed(*error.args)

self._backprocess_streams(stream_ids, grouped_datapoints)

Expand Down

0 comments on commit c4cc843

Please sign in to comment.