Skip to content

Commit 4bbca90

Browse files
committed
Update routes.rs
1 parent d96aec5 commit 4bbca90

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/epsilon/server/instances/routes.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@ pub async fn create(
2929
))
3030
})?;
3131

32-
let result = serde_json::to_string(&instance.to_json().await?)
33-
.map_err(|_| EpsilonError::ParseJsonError("Create Instance".to_owned()))?;
32+
let result = serde_json::to_string(&instance.to_json().await?).unwrap();
3433

3534
info!("An instance has been created (template={})", template);
36-
debug!("Create {}", result);
35+
info!("Create {}", result);
3736

3837
Ok(result)
3938
}

0 commit comments

Comments
 (0)