improve sea.js

Removed the small try/catch in recall() because there is already a bigger try/catch.
This commit is contained in:
MIMIZA 2020-06-22 08:59:39 +07:00
parent edc122f63c
commit 01cd2050d2

6
sea.js
View File

@ -1008,11 +1008,7 @@
if(sS){ if(sS){
(root._).opt.remember = true; (root._).opt.remember = true;
((gun.back('user')._).opt||opt).remember = true; ((gun.back('user')._).opt||opt).remember = true;
if(sS.recall || sS.pair){ if(sS.recall || sS.pair) root.user().auth(JSON.parse(sS.pair), cb); // pair is more reliable than alias/pass
try{
root.user().auth(JSON.parse(sS.pair), cb); // pair is more reliable than alias/pass
}catch(e){}
}
} }
}catch(e){} }catch(e){}
} }