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
// check if Sipi returned a status code != 0
_ = if (statusCode != 0) {
val sipiErrorMessage: String = responseAsMap.getOrElse("message", throw SipiException(message = "Sipi did not return an error message although status is != 0")) match {
case JsString(msg) => msg
case other => throw SipiException(message = s"Sipi did not return a correct status code, but ${other.toString()}")
}
throw BadRequestException(s"Sipi returned a HTTP 200 status code, but an unsuccessful status code ${statusCode} with message with error message ${sipiErrorMessage}")
}
The text was updated successfully, but these errors were encountered:
SipiResponderV1.scala auf Zeile 170:
The text was updated successfully, but these errors were encountered: