``` } catch (err) { if...
# support-questions-legacy
t
Copy code
} catch (err) {
                            if (err.message === "Please provide a valid domain name") {
                                // .origin gives the port as well..
                                doNotDoInterception =
                                    utils_1.normaliseURLDomainOrThrowError(window.location.origin) !==
                                        AuthHttpRequest.apiDomain && AuthHttpRequest.addedFetchInterceptor;
                            } else {
                                throw err;
                            }
                            console.log("value of doNotDoInterception", doNotDoInterception)
                        }
2 Views