Skip to content

Commit

Permalink
fix: error
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Jun 26, 2024
1 parent ccf521d commit bf10ce9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/common/utils/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ export class RequestUtil {
});
}
});
req.on('error', (error: any) => {
reject(error);
});
});
}

Expand Down Expand Up @@ -187,4 +190,4 @@ export class RequestUtil {
return undefined;
});
}
}
}

0 comments on commit bf10ce9

Please sign in to comment.