You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val baseUrl =Pair(shinyProxy.fqdn, shinyProxy.subPath)
148
144
if (urlToFile.containsKey(baseUrl)) {
149
-
logger.warn { "Found multiple ShinyProxy resources with the same URL, fqdn: '${shinyProxy.fqdn}', path: '${shinyProxy.subPath}', realm: '${shinyProxy.realmId}' in file: '${fileName}', already defined in '${urlToFile[baseUrl]}'" }
150
-
returnfalse
145
+
throwIllegalStateException("Found multiple ShinyProxy resources with the same URL, fqdn: '${shinyProxy.fqdn}', path: '${shinyProxy.subPath}', realm: '${shinyProxy.realmId}' in file: '${fileName}', already defined in '${urlToFile[baseUrl]}'")
151
146
}
152
147
urlToFile[baseUrl] = fileName
153
148
for (additionalFqdn in shinyProxy.additionalFqdns) {
154
149
val url =Pair(additionalFqdn, shinyProxy.subPath)
155
150
if (urlToFile.containsKey(url)) {
156
-
logger.warn { "Found multiple ShinyProxy resources with the same (additional) URL, additional fqdn: '${additionalFqdn}', path: '${shinyProxy.subPath}', realm: '${shinyProxy.realmId}' in file: '${fileName}', already defined in '${urlToFile[url]}'" }
157
-
returnfalse
151
+
throwIllegalStateException("Found multiple ShinyProxy resources with the same (additional) URL, additional fqdn: '${additionalFqdn}', path: '${shinyProxy.subPath}', realm: '${shinyProxy.realmId}' in file: '${fileName}', already defined in '${urlToFile[url]}'")
0 commit comments