-
Notifications
You must be signed in to change notification settings - Fork 329
Closed
Labels
kind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)
Description
Error caused by transitory state of js-ipfs breaks logic related to initIpfsClient
.
Found during tests of #395 while rapidly switching between embedded and external breaks:
Error comes from js-ipfs: src/core/components/stop.js#L17
Perhaps add-on/src/lib/ipfs-client/embedded.js
needs something like this?
- await node.stop()
+ try {
+ await node.stop()
+ } catch (err) {
+ console.warn('[ipfs-companion] Error while stopping embedded js-ipfs node', err)
+ }
node = null
Metadata
Metadata
Assignees
Labels
kind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)