-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Live logger error before 'when' is set #3184
Labels
type: bug
problem that needs to be addressed
Comments
nicoddemus
added
type: bug
problem that needs to be addressed
plugin: logging
related to the logging builtin plugin
labels
Feb 1, 2018
@nicoddemus it does seem that #3175 fixes the issue, thanks for linking me to that. |
Thanks, but lets keep this open because we don't have an issue to track this bug anyway. 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
The live logger
_LiveLoggingStreamHandler
will emit messages inemit()
:If
self._when
isNone
, which may be the case before a test is actually started, this will raise an exception:I ran into this issue with a plugin I created which emits log messages before the first test starts. It's a pretty simple fix which I'm fine creating a PR for, but what should the text be if
self._when
isNone
?The text was updated successfully, but these errors were encountered: