Skip to content

Added authentication to axios.defaults.proxy#6936

Merged
SamTV12345 merged 2 commits intodevelopfrom
6866-proxy-with-authentication-not-supported
Apr 8, 2025
Merged

Added authentication to axios.defaults.proxy#6936
SamTV12345 merged 2 commits intodevelopfrom
6866-proxy-with-authentication-not-supported

Conversation

@SamTV12345
Copy link
Copy Markdown
Member

No description provided.

@SamTV12345 SamTV12345 linked an issue Apr 8, 2025 that may be closed by this pull request
@SamTV12345 SamTV12345 requested a review from Copilot April 8, 2025 16:42
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 4 changed files in this pull request and generated 1 comment.

Files not reviewed (2)
  • pnpm-lock.yaml: Language not supported
  • src/package.json: Language not supported

Comment thread src/static/js/pluginfw/installer.ts Outdated
})
.catch(async (err) => reject(err));
.catch(async (err) => {
logger.error(`Error fetching available plugins: ${err}`);
Copy link

Copilot AI Apr 8, 2025

Choose a reason for hiding this comment

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

The updated error handling logs the error without calling reject, which may leave the promise unresolved. Consider calling reject(err) or properly propagating the error after logging it.

Suggested change
logger.error(`Error fetching available plugins: ${err}`);
logger.error(`Error fetching available plugins: ${err}`);
reject(err);

Copilot uses AI. Check for mistakes.
@SamTV12345 SamTV12345 merged commit 7fde6ee into develop Apr 8, 2025
13 of 35 checks passed
@SamTV12345 SamTV12345 deleted the 6866-proxy-with-authentication-not-supported branch April 8, 2025 16:54
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.

Proxy with authentication not supported

2 participants