1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

fix: clears logs when an exception is thrown in logs events source (#2406)

* feat: adds more logging for eventsource

* feat: removes error from event streams

* removes unused code

* adds errors back

* moves logs to debug

* removes lastEventId

* fixes tests
This commit is contained in:
Amir Raminfar
2023-10-03 09:58:46 -07:00
committed by GitHub
parent 32bc9a407b
commit f1dad96b86
2 changed files with 31 additions and 25 deletions

View File

@@ -88,7 +88,7 @@ describe("<LogEventSource />", () => {
});
}
const sourceUrl = "/api/logs/stream/localhost/abc?lastEventId=&stdout=1&stderr=1";
const sourceUrl = "/api/logs/stream/localhost/abc?stdout=1&stderr=1";
test("renders correctly", async () => {
const wrapper = createLogEventSource();