DataCater / datacater

The developer-friendly ETL platform for transforming data in real-time. Based on Apache Kafka® and Kubernetes®.
https://datacater.io
Other
82 stars 4 forks source link

fix(ui): Make log parsing more robust #109

Closed flippingbits closed 1 year ago

flippingbits commented 1 year ago

By default, the /deployments/$uuid/logs endpoint returns a deployment's logs in the JSON-LD format.

In rare cases, some lines are simple strings not JSON objects. This commit allows us to deal with such edge cases without throwing an error in the frontend.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information