SessionReader does not explicitly catch MissingParameterException leading to meaningless INTERNAL_ERROR response #46
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug Report
Environment
07587340d4Summary
The SessionReader does not handle the
MissingParameterException, while theCommandParserhas no way to do so.Expected Behavior
The SessionReader should catch this exception and respond with an
ErrorResponse.Actual Behavior
The Exception is unhandled and an
ErrorResponsewith theINTERNAL_ERRORcode is sent to the client. Information about why the error occured is herby lost.Steps to Reproduce
07587340d4CHECK_USERNAMErequest to the server missing theUSERNAMEparameterINTERNAL_ERRORresponse and the trace in the server logStack Trace / Error Message
Possible Cause / Notes
Checklist
This issue was discovered while implementing the
CHECK_USERNAMErequest in #39created branch
fix/46-sessionreader-catch-missingparameterexceptionto address this issueassigned to @lars.winzer
mentioned in merge request !73
mentioned in commit
95e3474c8cadded 8m of time spent at 2026-04-02 12:00:00 +0200
changed the description
mentioned in merge request !75