fix(core): update
This commit is contained in:
parent
fee8443af1
commit
1891b54389
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartrequest',
|
||||
version: '2.0.6',
|
||||
version: '2.0.7',
|
||||
description: 'dropin replacement for request'
|
||||
}
|
||||
|
@ -187,6 +187,7 @@ export let request = async (
|
||||
// lets handle an error
|
||||
requestToFire.on('error', (e) => {
|
||||
console.error(e);
|
||||
requestToFire.destroy();
|
||||
});
|
||||
|
||||
const result = await done.promise;
|
||||
|
Loading…
x
Reference in New Issue
Block a user