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

Only end the span if it exists #9938

Merged
merged 1 commit into from
May 13, 2022
Merged

Only end the span if it exists #9938

merged 1 commit into from
May 13, 2022

Conversation

mads-hartmann
Copy link
Contributor

Description

If you call werft.fail with a slice ID that doesn't exist we currently produce an unhelpful stack trace. This fixes that so we log a warning to the slice instead.

See example here: https://werft.gitpod-io-dev.com/job/ops-custom-main.1657

Related Issue(s)

No issue

How to test

N/A

Release Notes

NONE

Documentation

N/A

Copy link
Member

@meysholdt meysholdt left a comment

Choose a reason for hiding this comment

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

🧹

@roboquat roboquat merged commit 9dfc038 into main May 13, 2022
@roboquat roboquat deleted the mads/handle-missing-span branch May 13, 2022 11:56
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.

3 participants