mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-23 05:38:52 +00:00
Removing unused variables
This commit is contained in:
parent
0f853ba841
commit
09c11662aa
@ -14,7 +14,7 @@ exports.serve = function(ipc, host, port, ws){
|
|||||||
ws: ws
|
ws: ws
|
||||||
});
|
});
|
||||||
|
|
||||||
proxy.on('error', function (err, req, res) {
|
proxy.on('error', function () {
|
||||||
proxy.close();
|
proxy.close();
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ exports.serve = function(ipc, host, port, ws){
|
|||||||
ipc.request('log', commList[receipts[jsonO.id]]);
|
ipc.request('log', commList[receipts[jsonO.id]]);
|
||||||
} else {
|
} else {
|
||||||
ipc.connecting = true;
|
ipc.connecting = true;
|
||||||
ipc.connect((err) => {
|
ipc.connect(() => {
|
||||||
ipc.connecting = false;
|
ipc.connecting = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -41,6 +41,7 @@ class ConsoleListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
listenForLogRequests(){
|
listenForLogRequests(){
|
||||||
|
try {
|
||||||
this.ipc.on('log', (request) => {
|
this.ipc.on('log', (request) => {
|
||||||
if(request.type == 'contract-log'){
|
if(request.type == 'contract-log'){
|
||||||
|
|
||||||
@ -71,6 +72,9 @@ class ConsoleListener {
|
|||||||
this.logger.debug(request);
|
this.logger.debug(request);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
} catch(e) {
|
||||||
|
//
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user