Skip to content

Commit 3da1944

Browse files
committed
Add traces
1 parent d0b7693 commit 3da1944

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jderobot-commsmanager",
3-
"version": "1.0.13",
3+
"version": "1.0.14",
44
"main": "dist/main.js",
55
"typings": "dist/index.d.ts",
66
"scripts": {

src/components/CommsManager.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export default class CommsManager {
2525
// Private constructor to only allow single instatiation
2626
private constructor() {
2727
try {
28+
console.warn("Trying to connect to RAM")
2829
this.ws = new WebSocket(CommsManager.adress);
2930
} catch (error) {
3031
setTimeout(function () {
@@ -33,6 +34,8 @@ export default class CommsManager {
3334
}, 1000);
3435
return;
3536
}
37+
console.warn("Connected to RAM")
38+
3639
this.setManagerState({
3740
id: "",
3841
command: "",

0 commit comments

Comments
 (0)