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

Catch exceptions raised while formatting specific tasks instruction. #5940

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

Aadesh-Baral
Copy link
Contributor

closes #5902

As described in 5902 comment, presence of {, } and {} in the specific tasks instructions breaks the endpoint users/queries/tasks/locked/details/. This PR captures the exceptions raised while trying to format specific task instruction and returns the instruction as it is.

@sonarcloud
Copy link

sonarcloud bot commented Jun 26, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@d-rita d-rita left a comment

Choose a reason for hiding this comment

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

Works as expected.

@Aadesh-Baral Aadesh-Baral merged commit 7a5e268 into develop Jun 29, 2023
8 checks passed
@Aadesh-Baral Aadesh-Baral deleted the fix/5902-specific-task-instruction branch June 29, 2023 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Specific instruction text appears to disable task editing
2 participants