Don't show backtraces in prompts (#12699)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-06-05 15:00:23 -06:00 committed by GitHub
parent 8745719687
commit 1ad8d6ab1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View file

@ -267,7 +267,7 @@ impl Room {
.await
{
Ok(()) => Ok(room),
Err(error) => Err(anyhow!("room creation failed: {:?}", error)),
Err(error) => Err(error.context("room creation failed")),
}
})
}