Skip to content
Snippets Groups Projects
Commit cba0dd5e authored by MeiMei's avatar MeiMei Committed by syuilo
Browse files

Fix AP request error message is to long (#2760)

parent a2e2d5ba
No related branches found
No related tags found
No related merge requests found
......@@ -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 || (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment