You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tak-hntlabs opened this issue
Jul 20, 2022
· 0 comments
Labels
S-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-DefectBugs, crashes, hangs, vulnerabilities, or other reported problems.
Describe the bug
In bridge.ts, the method Bridge.onUserQuery swallows exceptions and logs a message. Consequently AppService.onGetUsers sends back a http 200 to the dendrite server. The server assumes that the user query succeeded. Eventually it ran into some other issues.
Expected behavior
Propose removing try..catch in Bridge.onUserQuery. Let AppService catch the exception and send back a 400 status. The dendrite / synapse server can handle it as appropriate.
The text was updated successfully, but these errors were encountered:
Half-Shot
added
T-Defect
Bugs, crashes, hangs, vulnerabilities, or other reported problems.
S-Major
Severely degrades major functionality or product features, with no satisfactory workaround
labels
Jul 21, 2022
S-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-DefectBugs, crashes, hangs, vulnerabilities, or other reported problems.
Describe the bug
In bridge.ts, the method Bridge.onUserQuery swallows exceptions and logs a message. Consequently AppService.onGetUsers sends back a http 200 to the dendrite server. The server assumes that the user query succeeded. Eventually it ran into some other issues.
Expected behavior
Propose removing try..catch in Bridge.onUserQuery. Let AppService catch the exception and send back a 400 status. The dendrite / synapse server can handle it as appropriate.
The text was updated successfully, but these errors were encountered: