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

logger: refactor, remove dead code #3306

Merged
merged 1 commit into from Feb 17, 2020
Merged

logger: refactor, remove dead code #3306

merged 1 commit into from Feb 17, 2020

Conversation

ghost
Copy link

@ghost ghost commented Feb 11, 2020

This PR includes some modifications that I did way back but never pushed them, some problems where already addressed by #3290

  • Remove dead code
  • Rename _walk_exc to _causes, simplify it
  • Split up stack trace and remove extra \n
  • Import traceback only when needed
  • Add test exc_info in other levels

@ghost
Copy link
Author

ghost commented Feb 11, 2020

uh, thought that I rebased master already...

UPDATE: done 👌

@ghost ghost requested a review from efiop February 11, 2020 18:40
dvc/logger.py Outdated Show resolved Hide resolved
dvc/logger.py Outdated Show resolved Hide resolved
dvc/logger.py Outdated Show resolved Hide resolved
dvc/logger.py Outdated Show resolved Hide resolved
* Remove dead code
* Rename _walk_exc to _causes, simplify it
* Split up stack trace and remove extra \n
* Import traceback only when needed
@ghost ghost requested a review from efiop February 14, 2020 20:02
@ghost
Copy link
Author

ghost commented Feb 14, 2020

Thanks, @efiop , changes addressed, would you mind reviewing it again?

Copy link
Contributor

@efiop efiop left a comment

Choose a reason for hiding this comment

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

Thanks!

@efiop efiop merged commit 8492786 into iterative:master Feb 17, 2020
@ghost ghost deleted the tidy-up-logger branch February 22, 2020 20:45
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