-
Notifications
You must be signed in to change notification settings - Fork 25
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
Feature/team average billing model #190
Feature/team average billing model #190
Conversation
@@ -108,8 +108,9 @@ def _get_report_data(cls, start, end, is_active, forecast, ventures): | |||
logger.warning( | |||
"Usage '{0}' have no usage plugin".format(plugin.name) | |||
) | |||
except BaseException as e: | |||
except Exception as e: | |||
logger.exception("Report generate error: {0}".format(e)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error generating the report: ...
@@ -108,8 +108,11 @@ def _get_report_data(cls, start, end, is_active, forecast, ventures): | |||
logger.warning( | |||
"Usage '{0}' have no usage plugin".format(plugin.name) | |||
) | |||
except BaseException as e: | |||
logger.exception("Report generate error: {0}".format(e)) | |||
except Exception as e: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not BaseException? Exception inherit from BaseException
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because we don't want to catch BaseExceptions - ex. SystemExit or KeyboardInterrupt
Feature/team average billing model
team average billing model