first pass at resolving CR

This commit is contained in:
dignifiedquire
2020-05-19 17:26:22 +02:00
parent ba4df23bff
commit 133ff4914d
7 changed files with 18 additions and 104 deletions

View File

@@ -44,11 +44,11 @@ impl Context {
ensure!(
!self.scheduler.read().await.is_running(),
"Can not configure, already running"
"cannot configure, already running"
);
ensure!(
self.sql.is_open().await,
"Cannot configure, database not opened."
"cannot configure, database not opened."
);
let cancel_channel = self.alloc_ongoing().await?;