stub tests pass for plugins

merge-requests/9/merge
Michał 'rysiek' Woźniak 2021-08-25 22:41:40 +00:00
rodzic 83d88647bf
commit e7958b9504
1 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -99,8 +99,12 @@ if (typeof window === 'undefined') {
console.error(e)
}
self.log(config.name, 'setting up Gun...')
gun = Gun(config.gunNodes);
self.log(config.name, '+-- gun loaded :: gun is : ' + typeof gun);
try {
gun = Gun(config.gunNodes);
self.log(config.name, '+-- gun loaded :: gun is : ' + typeof gun);
} catch(e) {
self.log(config.name, 'Error setting up Gun: ' + e);
}
}
if ( (gun !== false) && (gun !== undefined) ) {
if (gunUser === undefined) {