mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
Merge pull request 'Replace Error with logger.debug' (#9593) from daikei/calckey:develop into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9593
This commit is contained in:
commit
7c554747f7
@ -123,7 +123,8 @@ export async function createNote(
|
||||
|
||||
// Skip if author is suspended.
|
||||
if (actor.isSuspended) {
|
||||
throw new Error("actor has been suspended");
|
||||
logger.debug(`User ${actor.usernameLower}@${actor.host} suspended; discarding.`)
|
||||
return null;
|
||||
}
|
||||
|
||||
const noteAudience = await parseAudience(actor, note.to, note.cc);
|
||||
|
Loading…
Reference in New Issue
Block a user