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");
const client = new HyperdriveClient;
void async function() {
await client.ready();
const drive = await client.drive.get();
await drive.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
Describe the bug
Daemon crashes when
Hyperdrive.mountfrom the HyperdriveClient API is called with bad arguments. Nothing is stored in~/.hyperdrive/output.log.To Reproduce
Expected Behavior
OS
Windows 10
Node version
14.3.0
Was the daemon installed from NPM or bundled with Beaker?
NPM