Skip to content

handling unhandledRejection for support of nodejs version < 15.x.x #234

Closed

Description

@imabp

With introduction to NodeJS 15 blog
https://developer.ibm.com/blogs/nodejs-15-release-blog/

All unhandled rejections will be treated as strictly as errors , instead of warnings. Hence the process will be closed.

This is directly affecting our cli watcher for nodejs < 15 and nodejs > 15, as mentioned here #220 (comment)

@magicmatatjahu has suggested the following solution to this

process.on('unhandledRejection', (reason, promise) => {
 // throw error and stop process
});```

This issue tries to address the above problem

Activity

  1. added
    enhancement
    on Feb 18, 2022
  2. magicmatatjahu commented on Feb 18, 2022

    @magicmatatjahu
    Member

    NOTE: >=15 versions handle that in proper way, <15 only have a problem.

  3. changed the title [-]handling unhandledRejection for support of nodejs version `>=15`[/-] [+]handling unhandledRejection for support of nodejs version `<15`[/+] on Feb 18, 2022
  4. changed the title [-]handling unhandledRejection for support of nodejs version `<15`[/-] [+]handling unhandledRejection for support of nodejs version `< 15`[/+] on Feb 18, 2022
  5. changed the title [-]handling unhandledRejection for support of nodejs version `< 15`[/-] [+]handling unhandledRejection for support of nodejs version < `15.x.x`[/+] on Feb 18, 2022
  6. ritik307 commented on Feb 18, 2022

    @ritik307
    Contributor

    @magicmatatjahu is the issue still up for work? If so I would like to work on this. :)

  7. imabp commented on Feb 18, 2022

    @imabp
    ContributorAuthor

    Oops @ritik307 , I can update you on this...
    I am working on it, post the watcher PR #220 ...as this issue has a dependency on it

    But if needed help, I would definitely update here. 😊

  8. ritik307 commented on Feb 18, 2022

    @ritik307
    Contributor

    Oops @ritik307 , I can update you on this...
    I am working on it, post the watcher PR #220 ...as this issue has a dependency on it

    But if needed help, I would definitely update here. 😊

    Sure no problem 😊

  9. imabp commented on Feb 21, 2022

    @imabp
    ContributorAuthor

    @magicmatatjahu ,just curious, how do we start working on this now as watcher is ready :)
    You have any design suggestions?

  10. github-actions commented on Jun 22, 2022

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity 😴

    It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

    There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

    Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

    Thank you for your patience ❤️

  11. imabp commented on Jun 22, 2022

    @imabp
    ContributorAuthor

    This is already solved ..mr bot 🤭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions