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

Log a warning when WebSocketResponse#sendError() is used

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.0.0-M3
    • Fix Version/s: 7.0.0-M4
    • Labels:
      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

              • Assignee:
                mgrigorov Martin Grigorov
                Reporter:
                mgrigorov Martin Grigorov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: