This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
nico
/
Indium
Watch
2
Star
2
Fork
0
Code
Issues
231
Pull Requests
0
Releases
48
Wiki
Activity
Browse Source
Short-circuit on error when connecting to node
drone
William Bert
4 years ago
committed by
Nicolas Petton
parent
10e0582471
commit
22babe91b1
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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!"
)
;
}
;
Write
Preview
Loading…
Cancel
Save