Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Production Release: January Week 2 #1814

Merged
merged 5 commits into from
Jan 9, 2024
Merged

Production Release: January Week 2 #1814

merged 5 commits into from
Jan 9, 2024

Conversation

khavinshankar
Copy link
Member

No description provided.

try:
AbdmGateway().init(data["resp"]["requestId"])
except Exception as e:
return Response({"error": str(e)}, status=status.HTTP_400_BAD_REQUEST)

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
Comment on lines +350 to +353
{
"detail": "Failed to notify (health-information/notify)",
"error": str(e),
},

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
)
except Exception as e:
return Response(
{"detail": "Failed to fetch modes", "error": str(e)},

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
)
except Exception as e:
return Response(
{"detail": "Failed to fetch modes", "error": str(e)},

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
)
except Exception as e:
return Response(
{"detail": "Failed to add care context", "error": str(e)},

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
)
except Exception as e:
return Response(
{"detail": "Failed to send SMS", "error": str(e)},

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
@gigincg
Copy link
Member

gigincg commented Jan 9, 2024

@khavinshankar Can you file an issue to log the stacktrace and not share it in the response? Whitelabel the response

@gigincg gigincg merged commit 97f02a6 into production Jan 9, 2024
17 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants