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

Feature/team average billing model #190

Merged
merged 7 commits into from
Jun 23, 2014

Conversation

mkurek
Copy link
Contributor

@mkurek mkurek commented Jun 17, 2014

team average billing model

@coveralls
Copy link

Coverage Status

Coverage increased (+0.99%) when pulling b2006df on mkurek:feature/team-average-billing-model into 2c49a6e on allegro:develop.

@@ -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))
Copy link
Contributor

Choose a reason for hiding this comment

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

Error generating the report: ...

@coveralls
Copy link

Coverage Status

Coverage increased (+0.99%) when pulling a435c0a on mkurek:feature/team-average-billing-model into 2c49a6e on allegro:develop.

@@ -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:
Copy link
Contributor

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

Copy link
Contributor Author

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

@coveralls
Copy link

Coverage Status

Coverage increased (+0.85%) when pulling c4e8d7c on mkurek:feature/team-average-billing-model into 283cc52 on allegro:develop.

kula1922 added a commit that referenced this pull request Jun 23, 2014
@kula1922 kula1922 merged commit 6442433 into allegro:develop Jun 23, 2014
@mkurek mkurek deleted the feature/team-average-billing-model branch July 2, 2014 05:46
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.

None yet

4 participants