You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
view: improve type assertions and handle stream write errors (#33)
* view: type assert the timestamp
* view: type assert the renderers
Apparently, the forcetypeassert linter wasn’t satisfied with relying on the type assertion from the assert package and required an explicit type assertion instead.
* view: panic when the underlying stream can't write
Previously, we were suppressing errors when writing to the underlying stream. While there’s no perfect way to handle this, panicking ensures that failures don’t go unnoticed.
0 commit comments