You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Daemon crashes when Hyperdrive.mount from the HyperdriveClient API is called with bad arguments. Nothing is stored in ~/.hyperdrive/output.log.
To Reproduce
const{ HyperdriveClient }=require("hyperdrive-daemon-client");constclient=newHyperdriveClient;voidasyncfunction(){awaitclient.ready();constdrive=awaitclient.drive.get();awaitdrive.mount("foo","bar");// Daemon is now crashed}();
Expected Behavior
The Daemon should handle the bad input gracefully.
The Daemon should always output to file on error.
OS
Windows 10
Node version
14.3.0
Was the daemon installed from NPM or bundled with Beaker?
NPM