Commit 56636c7f authored by rockyl's avatar rockyl

xxx

parent cc25fb6c
......@@ -46,9 +46,10 @@ export async function compress(bufferOrFile: Buffer | string) {
try {
json = JSON.parse(str);
} catch (e) {
console.log(str)
console.log(e);
}
reject(json.msg);
reject(json?.msg);
}
});
res.on('abort', () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment