Attempting to fix black magic
This commit is contained in:
parent
58d5fbc1e3
commit
b02b0ce05b
@ -57,6 +57,7 @@ class ApiCommunicationConfig {
|
|||||||
fun coordinatorTemplate(): RestTemplate {
|
fun coordinatorTemplate(): RestTemplate {
|
||||||
return try {
|
return try {
|
||||||
val url = UIEnv.coordinatorUrl
|
val url = UIEnv.coordinatorUrl
|
||||||
|
log.info { "CoordinatorUrl: $url" }
|
||||||
require(url.isNotBlank()) { "UIEnv.coordinatorUrl er ikke satt!" }
|
require(url.isNotBlank()) { "UIEnv.coordinatorUrl er ikke satt!" }
|
||||||
|
|
||||||
val restTemplate = RestTemplate()
|
val restTemplate = RestTemplate()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user