diff --git a/kotlin/src/main/com/looker/rtl/Transport.kt b/kotlin/src/main/com/looker/rtl/Transport.kt index eff33ec62..2806e67d3 100644 --- a/kotlin/src/main/com/looker/rtl/Transport.kt +++ b/kotlin/src/main/com/looker/rtl/Transport.kt @@ -423,14 +423,15 @@ open class Transport(val options: TransportOptions) { } SDKResponse.SDKSuccessResponse(rawResult) } catch (e: HttpResponseException) { - SDKResponse.SDKErrorResponse("$method $path $ERROR_BODY: ${e.content}" - method, - path, - e.statusCode, - e.statusMessage, - e.headers, - e.content, - ) + SDKResponse.SDKErrorResponse( + "$method $path $ERROR_BODY: ${e.content}", + method, + path, + e.statusCode, + e.statusMessage, + e.headers, + e.content, + ) } catch (e: Exception) { SDKResponse.SDKError(e.message ?: "Something went wrong", e) }