diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2024-11-29 10:29:27 +0000 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2024-11-29 10:29:27 +0000 |
| commit | 536060e63c697d5c5de3ca514da4f2c9ac311490 (patch) | |
| tree | 9a3c1390e817bf832656c889cb06fc03fb4793e0 /packages/backend/src/queue/processors/InboxProcessorService.ts | |
| parent | merge: Fix Megalodon unit tests on Windows (!787) (diff) | |
| parent | remove duplicate check for note.url (diff) | |
| download | sharkey-536060e63c697d5c5de3ca514da4f2c9ac311490.tar.gz sharkey-536060e63c697d5c5de3ca514da4f2c9ac311490.tar.bz2 sharkey-536060e63c697d5c5de3ca514da4f2c9ac311490.zip | |
merge: Clear jobs from blocked domains (resolves #773) (!720)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/720
Closes #773
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
Diffstat (limited to 'packages/backend/src/queue/processors/InboxProcessorService.ts')
| -rw-r--r-- | packages/backend/src/queue/processors/InboxProcessorService.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/backend/src/queue/processors/InboxProcessorService.ts b/packages/backend/src/queue/processors/InboxProcessorService.ts index 5411eb69d0..eaf2aa3c4c 100644 --- a/packages/backend/src/queue/processors/InboxProcessorService.ts +++ b/packages/backend/src/queue/processors/InboxProcessorService.ts @@ -219,7 +219,11 @@ export class InboxProcessorService implements OnApplicationShutdown { try { const result = await this.apInboxService.performActivity(authUser.user, activity); if (result && !result.startsWith('ok')) { - this.logger.warn(`inbox activity ignored (maybe): id=${activity.id} reason=${result}`); + if (result.startsWith('skip:')) { + this.logger.info(`inbox activity ignored: id=${activity.id} reason=${result}`); + } else { + this.logger.warn(`inbox activity failed: id=${activity.id} reason=${result}`); + } return result; } } catch (e) { |