Skip to content

Use new error code standard in demo VASPs #24

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

Merged
merged 1 commit into from
Mar 1, 2025

Conversation

shreyav
Copy link
Contributor

@shreyav shreyav commented Feb 26, 2025

No description provided.

Copy link
Contributor Author

shreyav commented Feb 26, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@shreyav shreyav force-pushed the 02-26-use_new_error_code_standard_in_demo_vasps branch 5 times, most recently from 960ccce to ab01b53 Compare February 27, 2025 02:14
@shreyav shreyav marked this pull request as ready for review February 27, 2025 02:15
@shreyav shreyav requested a review from jklein24 February 27, 2025 02:15
def unsupported_version(e):
return jsonify(json.loads(e.to_json())), 412
def handle_uma_exception(e):
return e.to_json(), e.to_http_status_code()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this do the right thing WRT content type?

Copy link
Contributor Author

@shreyav shreyav Feb 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahh great catch! confirmed its fixed after updating

image

@shreyav shreyav force-pushed the 02-26-use_new_error_code_standard_in_demo_vasps branch from ab01b53 to de8ef80 Compare February 28, 2025 20:00
@shreyav shreyav force-pushed the 02-26-use_new_error_code_standard_in_demo_vasps branch from de8ef80 to bca5ca6 Compare February 28, 2025 20:06
@shreyav shreyav merged commit a7b403c into main Mar 1, 2025
3 checks passed
@shreyav shreyav deleted the 02-26-use_new_error_code_standard_in_demo_vasps branch March 1, 2025 05:41
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.

2 participants