Skip to content

Commit

Permalink
Retry announce target is null
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Apr 27, 2019
1 parent 3e8329e commit f5de353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/remote/activitypub/kernel/announce/note.ts
Expand Up @@ -53,7 +53,7 @@ export default async function(resolver: Resolver, actor: IRemoteUser, activity:
// skip unavailable
if (renote == null) {
logger.warn(`announce target is null: ${uri} => ${note.id || note}`);
return;
throw new Error(`announce target is null: ${uri} => ${note.id || note}`);
}

logger.info(`Creating the (Re)Note: ${uri}`);
Expand Down

0 comments on commit f5de353

Please sign in to comment.