Allow Configuration.invokeWebAppInits() to throw a runtime Error

XMLWordPrintable

    • Type: New Feature
    • Resolution: Done
    • Priority: Normal
    • 10.0.0
    • Affects Version/s: 9.6.3
    • Component/s: None
    • Security Level: Jimmy
    • None
    • None

      User Story


      As an app developer, I want to throw a runtime error in my custom WebAppInit listener because of a critical error to stop the whole application.

      use case

      In a custom WebAppInit, it connects to a database. If that connection fails, the web application won't run correctly and produce random errors. Throwing a runtime error in WebAppInit can make the application fail fast and make users/developers notice the real root cause.

      Acceptance Criteria

      don't catch Throwable, let a runtime error go to upper layer.

      Details

      • invokeSessionInits(), invokeDesktopInits(), invokeExecutionInits() all throw exceptions.

            Assignee:
            rebeccalai
            Reporter:
            hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: