We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd79f8c commit 206fa0dCopy full SHA for 206fa0d
services/web/server/src/simcore_service_webserver/exporter/exceptions.py
@@ -6,4 +6,5 @@ class SDSException(HTTPBadRequest): # pylint: disable=too-many-ancestors
6
"""Basic exception for errors raised inside the module"""
7
8
def __init__(self, message: str):
9
- super().__init__(reason=message)
+ # Multiline not allowed in HTTP reason attribute
10
+ super().__init__(reason=message.replace("\n", " ") if message else None)
0 commit comments