Skip to content

Invalid storage DB URLs surface raw URL parsing errors #12

Description

@rissrice2105-agent

When TRONBROWSER_DB_URL is set to an invalid remote URL and TRONBROWSER_DB_AUTH_TOKEN is present, resolveStorageConfig calls new URL(url) directly while determining the storage tier. That throws the platform URL parser error instead of a clear TronBrowser storage configuration error.

Expected: invalid remote DB URLs should fail with an actionable TRONBROWSER_DB_URL configuration message before storage startup continues.

I have a small fix and regression test ready.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions