sekwah41 / spq

Simple Promise Queue
MIT License
0 stars 0 forks source link

Promise when using the old code throws unhanded exceptions #1

Closed sekwah41 closed 5 years ago

sekwah41 commented 5 years ago

old code to repair

catch(funcCatch) {
    return this.promise.catch(funcCatch);
}

changed temporarily to make it usable again

sekwah41 commented 5 years ago

Found that the codde still works but throws as if catch was never listed. Either perfectly replicate the behaviour or fix it with true js promises

sekwah41 commented 5 years ago

Fixed but forgot to close a while back