mirror of https://github.com/waku-org/js-waku.git
Log in error raised by question
This commit is contained in:
parent
f85078ea96
commit
bf11d76a93
|
@ -40,7 +40,7 @@ const ChatContentTopic = 'dingpu';
|
||||||
'Please choose a nickname: '
|
'Please choose a nickname: '
|
||||||
)) as unknown) as string;
|
)) as unknown) as string;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log('Using default nick.');
|
console.log('Using default nick. Due to ', e);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(`Hi, ${nick}!`);
|
console.log(`Hi, ${nick}!`);
|
||||||
|
|
Loading…
Reference in New Issue