Fix AP request error message is to long ()

This commit is contained in:
MeiMei 2018-09-24 07:35:39 +09:00 committed by syuilo
parent a2e2d5ba77
commit cba0dd5e17

View file

@ -55,6 +55,8 @@ export default class Resolver {
Accept: 'application/activity+json, application/ld+json' Accept: 'application/activity+json, application/ld+json'
}, },
json: true json: true
}).catch(e => {
throw new Error(`request error: ${e.message}`);
}); });
if (object === null || ( if (object === null || (