diff --git a/backend/api/Controllers/MediaStreamController.cs b/backend/api/Controllers/MediaStreamController.cs index 963d00d23..2bbdbd4b9 100644 --- a/backend/api/Controllers/MediaStreamController.cs +++ b/backend/api/Controllers/MediaStreamController.cs @@ -41,10 +41,10 @@ public async Task> GetMediaStreamConfig([FromRoute] st var config = await isarService.GetMediaStreamConfig(robot); return Ok(config); } - catch (Exception e) + catch (Exception) { - logger.LogError(e, "Error during GET of media stream config from ISAR"); - throw; + logger.LogWarning("No ISAR media config retrieved from robot with ID {id}", id); + return NotFound(); } } }