Skip to content
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

Improved logging capability #3

Draft
wants to merge 6 commits into
base: 1.9.3-retry
Choose a base branch
from

Conversation

matteozambon89
Copy link

Instead of calling console.log to log attempts, we have leveraged the JSForce logger.

We have also update the JSForce logger to output JSON strings rather than plain message.

The reason for doing these changes is because the console.log interferes with the process flow within application such as invoicerizer and revenue-and-expense-recongition which use stdout/stdin as transport mechanism between scripts and expecting JSON inputs.

@matteozambon89
Copy link
Author

Before deleting this branch:

  • Merge the pull request without removing this branch
  • Update invoicerizer to use the branch 1.9.3-retry
  • Deploy invoicerizer again
  • Delete this branch

@matteozambon89 matteozambon89 marked this pull request as draft September 28, 2021 14:45
More safely handle the attempts tracking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants