feat: [bootstrap timeout] remove debug stuff
This commit is contained in:
parent
4b1619e0ef
commit
fd9c674335
Binary file not shown.
@ -21,7 +21,6 @@ export default function App() {
|
||||
] = React.useState(15000);
|
||||
React.useEffect(() => {
|
||||
_init();
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
|
||||
const _init = async () => {
|
||||
@ -29,13 +28,6 @@ export default function App() {
|
||||
// Init and do a few basic calls to test all is good
|
||||
console.log('App init');
|
||||
await client.startIfNotStarted();
|
||||
console.log('Tor started');
|
||||
await getOnion();
|
||||
console.log('Got onion');
|
||||
await startTcpStream();
|
||||
console.log('started tcp stream');
|
||||
await sendTcpMsg();
|
||||
console.log('send tcpmsg');
|
||||
} catch (err) {
|
||||
console.error('Error starting daemon', err);
|
||||
await client.stopIfRunning();
|
||||
@ -120,7 +112,7 @@ export default function App() {
|
||||
tcpStream = conn;
|
||||
setHasStream(true);
|
||||
} catch (err) {
|
||||
console.error('Error SendingTcpMSg', err);
|
||||
console.error('Error StartingTcpStream', err);
|
||||
}
|
||||
};
|
||||
const closeTcpStream = async () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user