mirror of
https://github.com/Noratrieb/discord-court-bot.git
synced 2026-01-17 03:15:01 +01:00
fix author perms
This commit is contained in:
parent
d91ee43933
commit
aa6e57b2fa
6 changed files with 87 additions and 46 deletions
|
|
@ -154,7 +154,9 @@ async fn hello(ctx: Context<'_>) -> Result<()> {
|
|||
}
|
||||
|
||||
fn setup_tracing(pretty: bool) {
|
||||
let registry = Registry::default().with(EnvFilter::from_default_env());
|
||||
let registry = Registry::default()
|
||||
.with(EnvFilter::from_default_env())
|
||||
.with(tracing_error::ErrorLayer::default());
|
||||
|
||||
if pretty {
|
||||
let tree_layer = tracing_tree::HierarchicalLayer::new(2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue