Skip to content

FIX: don't log SyntaxError/NameError#62

Merged
klauer merged 2 commits into
pcdshub:masterfrom
klauer:mnt_no_log_syntaxerror
Jul 13, 2022
Merged

FIX: don't log SyntaxError/NameError#62
klauer merged 2 commits into
pcdshub:masterfrom
klauer:mnt_no_log_syntaxerror

Conversation

@klauer
Copy link
Copy Markdown
Contributor

@klauer klauer commented Jul 13, 2022

Description

Don't log NameError to the centralized logging system.
SyntaxError is included for good measure, but we don't actually see it with IPython catching it first.

Motivation and Context

It's not useful for us
Closes #61

How Has This Been Tested?

Not tested

Where Has This Been Documented?

Issue + PR text

@klauer klauer requested review from ZLLentz and tangkong July 13, 2022 16:42
Copy link
Copy Markdown
Contributor

@tangkong tangkong left a comment

Choose a reason for hiding this comment

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

Looks good to me 🏎️

@klauer klauer changed the title FIX: don't log SyntaxError FIX: don't log SyntaxError/NameError Jul 13, 2022
@klauer klauer merged commit 784f5b6 into pcdshub:master Jul 13, 2022
@klauer klauer deleted the mnt_no_log_syntaxerror branch July 13, 2022 22:15
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.

Ignore NameError in the exception logger

2 participants