orthecreedence / blackbird

Common Lisp promise implementation (successor to cl-async-future)
83 stars 10 forks source link

error chain not triggering #19

Closed nightshade427 closed 9 years ago

nightshade427 commented 9 years ago

Should this fire the catcher error?

CL-USER> (as:with-event-loop (:catch-app-errors t)                                                                      
           (bb:catcher                                                                                                  
            (bb:alet ((result (carrier:request "https://www.apple.com/" :return-body t)))                               
              (error "dead")                                                                                            
              (format t "result: ~s" result))                                                                           
            (t (e) (format t "error: ~a" e))))                                                                          
0                                                                                                                       
CL-USER>

I would have expected: "error: dead", I think that's how cl-async-future did it I think?

orthecreedence commented 9 years ago

I am officially scratching my head. Well done.

orthecreedence commented 9 years ago

Do a pull and give it a shot, should work now. It's odd, you found a bug that's incredibly glaringly obvious and not I or anyone who has used the library ever caught it. Good find =].

nightshade427 commented 9 years ago

Works great! Thanks :)