Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Import Logs for Deps Import #186
Import Logs for Deps Import #186
Changes from 36 commits
f6df1ec
372c628
d0ad337
7825b9e
b79c74c
97779c6
601e3cb
fb78432
57a4ed4
19dfa7d
151e397
ffbe1f5
372e5ab
737c79d
da072df
e2f4cef
5bc9075
c6a4697
f667558
1c2e3c1
0e98a8a
d23f0cd
7dd6145
f1a31f1
505fabc
e85f6b2
b1f39ca
555a72c
675c37a
84ba2e9
6dd28a9
aa96f62
51e76e5
6cbcb7d
6c54fdc
1da8a7d
9aefa9f
173d31a
5dac65e
ef99211
771c939
0d688ac
53d90b1
766beb3
8393600
7a6d4fa
30b7c50
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
can we also store batches count while posting?
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.
store batch count in import log?
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.
yes
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.
wouldn't there be exception incase of errors?
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.
Both post_cost_code and post_cost_type method are decoarated with handle_import_exception
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.
also fixed the call ordering, it was wrong earlier. can check code again for this.
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.
we're storing all details in the exception, why are we overriding?
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.
we should bring this inside else block, else we might mark timestamp even for failed runs