Skip to content

init config error handling #14

@ronenkapelian

Description

@ronenkapelian

long story - short story :
scenario: making config initialization with offlinemode=false, so it tries to connect to the config server.

expected results:
it will be connected to the server if it is successful, if failed, it will return east to understand the error message.

actual:-
on success - it's greater :-)

on some errors:
If the server does not exist: "ConfigError [httpGeneralError]: An error occurred while making the request" good response.

if the server does not exist and the page it reached is not JSON - got an error from undici about bad parsing

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    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