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

#379 Add unit tests to check pyproject.toml velocity template Python … #387

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

meliz19
Copy link
Contributor

@meliz19 meliz19 commented Oct 2, 2024

…version updates

StepElement pipelineStep = createPipelineStep(pipelineStepName, pipelineStepType);
pipeline.addStep(pipelineStep);
} catch (Exception e) {
System.err.println("Exception: " + e.getMessage());
Copy link
Contributor

Choose a reason for hiding this comment

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

S: Something like logger.error("Failed to add new step to test pipeline", e) will provide more useful output. It will print both the exception message and the full stack trace, while also giving info about what we were attempting when the error occurred.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great point. I'll make the update. Thank you!

@meliz19 meliz19 force-pushed the 379-add-unit-tests-for-pyproject-velocity-templates branch from f40b76d to ee5fdee Compare October 3, 2024 12:41
@meliz19 meliz19 force-pushed the 379-add-unit-tests-for-pyproject-velocity-templates branch from ee5fdee to 9b86f60 Compare October 4, 2024 13:17
@meliz19 meliz19 force-pushed the 379-add-unit-tests-for-pyproject-velocity-templates branch from 9b86f60 to c3b798b Compare October 4, 2024 18:14
@meliz19 meliz19 merged commit 70b0f50 into dev Oct 4, 2024
@meliz19 meliz19 deleted the 379-add-unit-tests-for-pyproject-velocity-templates branch October 4, 2024 18:40
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