Fix AP request error message is to long (#2760)
This commit is contained in:
parent
a2e2d5ba77
commit
cba0dd5e17
|
@ -55,6 +55,8 @@ export default class Resolver {
|
|||
Accept: 'application/activity+json, application/ld+json'
|
||||
},
|
||||
json: true
|
||||
}).catch(e => {
|
||||
throw new Error(`request error: ${e.message}`);
|
||||
});
|
||||
|
||||
if (object === null || (
|
||||
|
|
Loading…
Reference in a new issue