Skip to content

fix: nango worker bugfix#3515

Merged
themarolt merged 5 commits into
mainfrom
nango-worker-debug
Oct 15, 2025
Merged

fix: nango worker bugfix#3515
themarolt merged 5 commits into
mainfrom
nango-worker-debug

Conversation

@themarolt
Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Uroš Marolt <uros@marolt.me>
Signed-off-by: Uroš Marolt <uros@marolt.me>
Signed-off-by: Uroš Marolt <uros@marolt.me>
Signed-off-by: Uroš Marolt <uros@marolt.me>
Signed-off-by: Uroš Marolt <uros@marolt.me>
@themarolt themarolt requested a review from joanagmaia October 15, 2025 11:42
@themarolt themarolt merged commit af5d927 into main Oct 15, 2025
10 checks passed
@themarolt themarolt deleted the nango-worker-debug branch October 15, 2025 11:42
@github-actions
Copy link
Copy Markdown
Contributor

⚠️ Jira Issue Key Missing

Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability.

Example:

  • feat: add user authentication (CM-123)
  • feat: add user authentication (IN-123)

Projects:

  • CM: Community Data Platform
  • IN: Insights

Please add a Jira issue key to your PR title.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.


const lastConnectDate = await getLastConnectTs()

svc.log.info(`[GITHUB] Last connect date: ${lastConnectDate.toISOString()}`)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Logging Error: Undefined Date Handling

The new logging statement attempts to call toISOString() on lastConnectDate before checking if it's defined. Since getLastConnectTs() can return undefined, this results in a runtime error when lastConnectDate is not set.

Fix in Cursor Fix in Web

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.

1 participant