Skip to content

bug: subscribe to shutting down node #2440

@weboko

Description

@weboko

Description

In our e2e test suit I discovered rare case when js-waku is still functional but docker nwaku node is getting shut down. This causes request response to be an empty array instead of failing.

This in turn throws not caught error later on.

Code: https://github.com/waku-org/js-waku/blob/981248eedd2192e0a160939e5ff0d7133b12db59/packages/core/src/lib/filter/filter.ts#L118

Expected Behavior

We should return GENERIC error in that case.

Metadata

Metadata

Assignees

Labels

maintenanceMarks maintenance type of tasks.

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions