Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Messaging model changes and MQTT integration #50

Closed

Conversation

swgkg
Copy link
Contributor

@swgkg swgkg commented Sep 23, 2014

This PR contains the following:
1.Messaging model changes and MQTT updates
2.Puppet master update with python agent

@nirmal070125
Copy link
Contributor

I solved merge conflicts and integrated this PR. Thanks Gayan.

However, later found that this PR has introduced a regression https://issues.apache.org/jira/browse/STRATOS-820

Gayan, could you please send another PR to solve this regression issue?

@swgkg
Copy link
Contributor Author

swgkg commented Sep 24, 2014

This is already merged and add the new pull request (#58) for STRATOS-820. Hence closed the PR

@swgkg swgkg closed this Sep 24, 2014
} catch (RegistryException e) {
String msg = "Failed when retrieving Governance System Registry.";
log.error(msg, e);
throw new CloudControllerException(msg, e);

Choose a reason for hiding this comment

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

Log and throw anti pattern

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks Johann.

Yeah it will create multiple logs.Code base use the log and throw pattern as it contains information which will not get logged further up the call stack.

@swgkg
Copy link
Contributor Author

swgkg commented Dec 20, 2014

Thanks Johann for point out this. Added the PR#159 with the context aware error messages.

@swgkg
Copy link
Contributor Author

swgkg commented Dec 22, 2014

Thanks Johann for the comments.

Added the PR#159 with the context aware error messages.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants