We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f87057 commit eb62d41Copy full SHA for eb62d41
1 file changed
lambdas/shared/src/common/service_return.py
@@ -16,7 +16,7 @@ def __init__(
16
self.exception = exception
17
self.call_location = self._get_call_location()
18
19
- if self.status != 200 and not (self.exception or self.message):
+ if self.status != 200 and (self.exception or self.message):
20
msg = {
21
"status": self.status,
22
"Message": self.message,
0 commit comments