hypercerts icon indicating copy to clipboard operation
hypercerts copied to clipboard

[SDK] incorrect environment in config should log warn/error

Open bitbeckers opened this issue 1 year ago • 0 comments

Describe the feature you'd like to request

When a user initializes with the wrong environment, an error should be thrown and logged with a proper description

Describe the solution you'd like

console.warn("wrong environment configured. Found: [env], accepted: ["test", "production"])

Describe alternatives you've considered

.

bitbeckers avatar Jul 11 '24 11:07 bitbeckers