diff --git a/src/remote/activitypub/request.ts b/src/remote/activitypub/request.ts index e820d0c94c..7264bef24c 100644 --- a/src/remote/activitypub/request.ts +++ b/src/remote/activitypub/request.ts @@ -43,11 +43,11 @@ export default (user: ILocalUser, url: string, object: any) => new Promise(async 'Digest': `SHA-256=${hash}` } }, res => { - logger.info(`${url} --> ${res.statusCode}`); - if (res.statusCode >= 400) { + logger.warn(`${url} --> ${res.statusCode}`); reject(res); } else { + logger.succ(`${url} --> ${res.statusCode}`); resolve(); } });