Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5737

Log a warning when WebSocketResponse#sendError() is used

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 7.0.0-M3
    • 7.0.0-M4
    • None

    Description

      As discussed at http://markmail.org/message/x6xj4l2vo6iijan5 it will be better to log the passed error code and message instead of throwing unsupported exception.

      Additionally it will be good to provide a factory method for the WebSocketResponse so the application can write a proper error response in its own format to the client if needed.

      Attachments

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              mgrigorov Martin Tzvetanov Grigorov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: