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

Add missing TimelineMode.off checks #88

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Conversation

passsy
Copy link
Owner

@passsy passsy commented Dec 20, 2024

This prevents taking expensive screenshots when the timeline is off.

This prevents taking expensive screenshots when the timeline is off.
@passsy passsy merged commit a4970f7 into main Dec 20, 2024
6 checks passed
@passsy passsy deleted the missing-timeline-off-checks branch December 20, 2024 00:27
Comment on lines +475 to +479
if (timeline.mode != TimelineMode.off) {
timeline.addEvent(
eventType: 'Assertion Failed',
details: '$errorBuilder\n'
'$tree',
Copy link
Owner Author

Choose a reason for hiding this comment

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

Always add failed assertions!

passsy added a commit that referenced this pull request Dec 20, 2024
Comment on lines +492 to +494
if (timeline.mode != TimelineMode.off) {
timeline.addEvent(
eventType: 'Assertion',
Copy link
Owner Author

Choose a reason for hiding this comment

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

Reland with only this

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.

1 participant