GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Invalid URL does not throw correct error · Issue #3513 · brianc/node-postgres

Invalid URL does not throw correct error #3513

New issue
Copy link
New issue
Copy link
Closed
Closed
Invalid URL does not throw correct error#3513
Copy link
Labels
bug

Description

@mathiasbockwoldt
mathiasbockwoldt
opened on Jul 17, 2025
Issue body actions

This commit introduced redaction of URL details in this file packages/pg-connection-string/index.js:
7ab5923#diff-08a5e82487ebd9b43751630019753901fae0a111f8d009ad2e9d194445e96922

This is good, but the problem is that the error is not thrown anymore. It's just caught and modified, but the modified error is not thrown again. The actual error that is thrown is TypeError: Cannot read properties of undefined (reading 'searchParams'), which is not helpful at all.

Reacted by dunghuynh-kdi

Activity

  1. mathiasbockwoldt
    added a commit that references this issue on Jul 17, 2025

    fix brianc#3513

    This issue will close once commit a9c9311 is merged into the 'master' branch.
    a9c9311
  2. charmander
    added
    bug
    on Jul 17, 2025
  3. hjr3
    closed this as completedin 1b2bedcon Jul 28, 2025
  4. pull
    added a commit that references this issue on Jul 28, 2025

    feat(pg-connection-string): throw correct error when URL parsing fails

    This issue will close once commit 1b2bedc is merged into the 'master' branch.
    1b2bedc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.