mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-11-22 20:51:23 +00:00
Disconnect socket on error so it doesn't spam with retries
This commit is contained in:
parent
62bc539cd2
commit
ea0ae11af6
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ const App = React.createClass({
|
|||
} else if (error === "Gather Banned") {
|
||||
this.setState({ status: "banned" });
|
||||
} else {
|
||||
console.dir(error);
|
||||
socket.disconnect();
|
||||
}
|
||||
});
|
||||
this.setState({ socket: socket });
|
||||
|
|
Loading…
Reference in a new issue