-
Notifications
You must be signed in to change notification settings - Fork 125
Replaced BouncyCastle lib with System.Security.Cryptography.Algorithms #121
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
Conversation
| } | ||
| catch (Exception ex) | ||
| { | ||
| PNStatusCategory category = PNStatusCategoryHelper.GetPNStatusCategory(400, ex.ToString()); |
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.
An Exception should not have the status code of 400
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.
fixed it.
| } | ||
| } | ||
|
|
||
| internal async Task<PNResult<PNPublishResult>> Publish(string channel, object message, bool storeInHistory, int ttl, Dictionary<string, object> metaData, Dictionary<string, object> externalQueryParam) |
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.
Most of the code is repeated in this method
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.
yeah..due to async/await and callback style outputs, some code was repeated due to threading issues. In the current PR only catch block section code was added to handle unknown exception which customer could not share. Remaining code nothing changed.
|
@client-engineering-bot release as v5.4.0.0 |
|
🚀 Release successfully completed 🚀 |
fix: Replaced BouncyCastle lib with System.Security.Cryptography.Algorithms
Replaced BouncyCastle lib with System.Security.Cryptography.Algorithms
fix: Added try/catch for publish operation to catch exceptions
Added try/catch for publish operation to catch exceptions