Skip to content
Extraits de code Groupes Projets
  • erin's avatar
    c986218c
    Improve error handling in streaming/index.js (#5968) · c986218c
    erin a rédigé
    On an unhandled worker exception, we should log the exception
    and exit with nonzero status, instead of letting workers
    silently fail and restarting them in an endless loop.
    
    Note: we previously tried to handle the `'error'` signal.
    That's not a signal Node fires; my patch traps `'uncaughtException'`,
    which is what the code was _trying_ to do.
    c986218c
    Historique
    Improve error handling in streaming/index.js (#5968)
    erin a rédigé
    On an unhandled worker exception, we should log the exception
    and exit with nonzero status, instead of letting workers
    silently fail and restarting them in an endless loop.
    
    Note: we previously tried to handle the `'error'` signal.
    That's not a signal Node fires; my patch traps `'uncaughtException'`,
    which is what the code was _trying_ to do.