This commit is contained in:
syuilo
2022-02-04 11:10:53 +09:00
parent 73de9be6d5
commit bd7662e5e4
7 changed files with 29 additions and 20 deletions

View File

@ -25,8 +25,10 @@ export async function performActivity(actor: IRemoteUser, activity: IObject) {
const act = await resolver.resolve(item);
try {
await performOneActivity(actor, act);
} catch (e) {
apLogger.error(e);
} catch (err) {
if (err instanceof Error || typeof err === 'string') {
apLogger.error(err);
}
}
}
} else {