gsandf / rethinkdb-elasticsearch-stream

🔄 sync RethinkDB tables to Elasticsearch using changefeeds
9 stars 4 forks source link

Added Case-Specific Logging #37

Closed zstickles-gsandf closed 6 years ago

zstickles-gsandf commented 6 years ago

Rather than alway logging out the entire error (https://github.com/gsandf/rethinkdb-elasticsearch-stream/pull/35), this will log the path and status code, if applicable. If we don't have those items, then the full error will be logged, as we did before.

Since these are just console.logs, I didn't update the test.