Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

QueuTask: prevent unhandled exception from tearing the main loop down #108

Merged
merged 1 commit into from May 20, 2016

Commits on May 20, 2016

  1. QueuTask: prevent unhandled exception from tearing the main loop down

    Prior to this patch - raising an exception inside an execute() of a
    queued
    task when using futures instead of deferreds, would tear down the whole
    service thread. This is almost certainly not what we want.
    
    The cleanest way to fix this seems to be in the ExecutionContext, where
    we consider an exception handled if it's set on a future, and let the
    submitter worry about it.
    djipko committed May 20, 2016
    Configuration menu
    Copy the full SHA
    15037b2 View commit details
    Browse the repository at this point in the history