db/src/channels.rs/ : Clerical error fix in Response::Other<String> message
src/channels.rs/ : simple log of sql error to stderr main.rs : swapped secret and name parameters as they were backwards somehow (tfw cant type) src/messages.sr : more clerical shit(mispelled parameter name) and logging sql to stderr
This commit is contained in:
@@ -186,7 +186,8 @@ impl Channel {
|
||||
Err(_) => Response::Empty
|
||||
};
|
||||
}
|
||||
return Response::Other("Could fetch new channel".into());
|
||||
// TODO: change this to return Result<> which should help with ambiguity
|
||||
return Response::Other("Could not fetch new channel".into());
|
||||
}
|
||||
return Response::Other(no_conn!("db::channels::add"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user