Skip to content

Commit

Permalink
Fix missing comma
Browse files Browse the repository at this point in the history
  • Loading branch information
haywood committed Dec 2, 2024
1 parent 91fa97a commit f204df8
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions kotlin/src/main/com/looker/rtl/Transport.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit f204df8

Please sign in to comment.