-
Notifications
You must be signed in to change notification settings - Fork 10
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
WorkflowGuidelines: add exception parsing #106
base: master
Are you sure you want to change the base?
Conversation
@aarani CI is broken. I know the failure msg is misleading, but that is already fixed in master. So please rebase first and then you will get a more understandable message. |
@@ -78,6 +78,46 @@ | |||
|
|||
let savedData = System.IO.File.ReadAllText saveFilePath.FullName | |||
``` | |||
* Avoid applying logic based on exception's message: | |||
|
|||
Exception messages (even in stable libraries/softwares) are subject to change, applying logic based on the `Message` or `StackTrace` can cause hard-to-debug problems when updating your dependencies or in case of .NET even your framework version. |
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.
() | ||
with | ||
| :? PostgresException as ex when | ||
isDuplicatePrimaryKeyError ex -> |
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.
@aarani wrong indentation length
Also let's rebase this PR please. Thanks |
d1bd1c2
to
908c11d
Compare
c5fb9d5
to
18898b7
Compare
No description provided.