Browse Source

Short-circuit on error when connecting to node

drone
William Bert 2 years ago
committed by Nicolas Petton
parent
commit
22babe91b1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      server/server/connection.js

+ 1
- 1
server/server/connection.js View File

@ -56,7 +56,7 @@ const connectToNode = async (options = {}, { success, error }) => {
port: options.port || 9229 // The default port is 9229 in NodeJS.
}, { success, error });
} catch(e) {
error(e.message);
return error(e.message);
}
success("Connected to Node!");
};


Loading…
Cancel
Save