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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user