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
Copy file name to clipboardExpand all lines: kotlin-http-client/kotlin-http-client-api/src/main/kotlin/com/linkedplanet/kotlinhttpclient/api/http/HttpClient.kt
Copy file name to clipboardExpand all lines: kotlin-http-client/kotlin-http-client-atlas/src/main/kotlin/com/linkedplanet/kotlinhttpclient/atlas/AtlasHttpClient.kt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ class AtlasHttpClient(private val appLink: ApplicationLink) : BaseHttpClient() {
75
75
}
76
76
})
77
77
} catch (e:ResponseException) {
78
-
Either.Left(HttpDomainError(-1, "Jira/Insight hat ein internes Problem festgestellt", ""))
78
+
Either.Left(HttpDomainError(400, "Jira/Insight hat ein internes Problem festgestellt", e.message.toString()))
79
79
}
80
80
81
81
overridesuspendfunexecuteDownload(
@@ -121,7 +121,7 @@ class AtlasHttpClient(private val appLink: ApplicationLink) : BaseHttpClient() {
121
121
}
122
122
})
123
123
} catch (e:ResponseException) {
124
-
Either.Left(HttpDomainError(-1, "Jira/Insight hat ein internes Problem festgestellt", ""))
124
+
Either.Left(HttpDomainError(400, "Jira/Insight hat ein internes Problem festgestellt", e.message.toString()))
125
125
}
126
126
127
127
overridesuspendfunexecuteUpload(
@@ -169,6 +169,6 @@ class AtlasHttpClient(private val appLink: ApplicationLink) : BaseHttpClient() {
169
169
}
170
170
})
171
171
} catch (e:ResponseException) {
172
-
Either.Left(HttpDomainError(-1, "Jira/Insight hat ein internes Problem festgestellt", ""))
172
+
Either.Left(HttpDomainError(400, "Jira/Insight hat ein internes Problem festgestellt", e.message.toString()))
0 commit comments