know-cujojs / know

Know cujoJS through these short, focused tutorials
Other
5 stars 5 forks source link

Tutorial: Mastering Async Error Handling with Promises #15

Closed tomsquest closed 10 years ago

tomsquest commented 10 years ago

There are some wrong semicolon in part of the code (at least twice like in the following code) :

return thisMightFail()
        .otherwise(recoverFromFailure); // HERE 
        .then(alwaysCleanupOnSuccess, alwaysCleanupOnFailure);
briancavalier commented 10 years ago

Whoops! Nice catch, @tomsquest, thanks.