jitsucom / jitsu

Jitsu is an open-source Segment alternative. Fully-scriptable data ingestion engine for modern data teams. Set-up a real-time data pipeline in minutes, not days
https://jitsu.com
MIT License
3.95k stars 279 forks source link

fix: handle error responses from bulker in log endpoint #1084

Closed echozio closed 5 months ago

echozio commented 5 months ago

Without this the API returns a 200 containing the error from the Bulker (including the token used for authentication if it's rejected by the Bulker), and an authentication failure between the console and Bulker results in a somewhat cryptic error from https://github.com/jitsucom/jitsu/blob/fb73e5921cfdaf94e487e9cbf7978279b614360d/webapps/console/components/DataView/EventsBrowser.tsx#L974 (evs.map is not a function).

absorbb commented 5 months ago

thank you!