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
4.13k stars 295 forks source link

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

Closed echozio closed 9 months ago

echozio commented 9 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 9 months ago

thank you!