mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 23:51:01 -07:00
Fix AP request error message is to long (#2760)
This commit is contained in:
parent
8afd05a4e5
commit
ceaefa53d6
1 changed files with 2 additions and 0 deletions
|
@ -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 || (
|
||||||
|
|
Loading…
Reference in a new issue