(message: &str)
| 286 | } |
| 287 | |
| 288 | fn internal_error(message: &str) -> (StatusCode, Json<Value>) { |
| 289 | ( |
| 290 | StatusCode::INTERNAL_SERVER_ERROR, |
| 291 | Json(http_detail(message)), |
| 292 | ) |
| 293 | } |
| 294 | |
| 295 | fn find_artifact<'a>( |
| 296 | artifacts: &'a [AutomationRunArtifact], |
no test coverage detected