Skip to content

Commit

Permalink
Merge pull request Azure#129 from amarzavery/recovery
Browse files Browse the repository at this point in the history
bump min version of rhea to 0.2.20
  • Loading branch information
amarzavery authored Aug 11, 2018
2 parents 606f7c2 + f7e5df7 commit 3b79d0f
Show file tree
Hide file tree
Showing 4 changed files with 518 additions and 261 deletions.
2 changes: 1 addition & 1 deletion client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export DEBUG=azure*,rhea*,-rhea:raw,-rhea:message,-azure:amqp-common:datatransfo
```
- If you are interested only in **errors**, then you can set the `DEBUG` environment variable as follows:
```bash
export DEBUG=azure:error,azure-amqp-common:error,rhea-promise:error,rhea:events,rhea:frames,rhea:io,rhea:flow
export DEBUG=azure:event-hubs:error,azure-amqp-common:error,rhea-promise:error,rhea:events,rhea:frames,rhea:io,rhea:flow
```

#### Logging to a file
Expand Down
2 changes: 1 addition & 1 deletion client/examples/simpleSendReceive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async function main(): Promise<void> {
const hub = await client.getHubRuntimeInformation();
console.log(">>>> Hub: \n", hub);
for (let i = 0; i < 1; i++) {
const onMessage: OnMessage = async (eventData: any) => {
const onMessage: OnMessage = (eventData: any) => {
console.log(">>> EventDataObject: ", eventData);
console.log("### Actual message:", eventData.body ? eventData.body.toString() : null);
}
Expand Down
Loading

0 comments on commit 3b79d0f

Please sign in to comment.