wip
This commit is contained in:
parent
7403f38fb4
commit
fd87a63e57
3 changed files with 4 additions and 3 deletions
|
@ -37,7 +37,8 @@ module.exports = (params, me) => new Promise(async (res, rej) => {
|
|||
if (typeof host === 'string') {
|
||||
try {
|
||||
user = await resolveRemoteUser(username, host, cursorOption);
|
||||
} catch (exception) {
|
||||
} catch (e) {
|
||||
console.warn(`failed to resolve remote user: ${e}`);
|
||||
return rej('failed to resolve remote user');
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue