This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
offline error loses stack #1055
Comments
MicrowaveDev
pushed a commit
to galtproject/js-ipfs
that referenced
this issue
May 22, 2020
The ipfs object stat command couldn't handle the {timeout: '1s'} option (or any other options). We're already checking for the opts parameter so it makes sense that we should be sending it as well. Things work as desired now with this one line addition.
This was referenced Aug 30, 2022
This was referenced Aug 30, 2022
This was referenced Aug 30, 2022
This was referenced Aug 31, 2022
This was referenced Aug 31, 2022
This was referenced Jun 20, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Type:
Bug
Severity:
Low
Description:
Offline error is created globally and, when thrown, does not contain stack.
Steps to reproduce the error:
Create an IPFS node in the browser while offline.
See the error, it's something like this:
Notice that the stack stays at
utils.js:3
, where the error was created.The text was updated successfully, but these errors were encountered: