Skip to content

Commit

Permalink
Update search lock message
Browse files Browse the repository at this point in the history
  • Loading branch information
elegaanz committed Dec 28, 2018
1 parent b28c5c4 commit 53aac78
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,12 @@ fn main() {
let searcher = match UnmanagedSearcher::open(&"search_index") {
Err(Error::Search(e)) => match e {
SearcherError::WriteLockAcquisitionError => panic!(
r#"Your search index is locked. Plume can't start. To fix this issue, run:
r#"Your search index is locked. Plume can't start. To fix this issue
make sure no other Plume instance is started, and run:
plm search unlock
And try to restart Plume.
Then try to restart Plume.
"#),
e => Err(e).unwrap()
},
Expand Down

0 comments on commit 53aac78

Please sign in to comment.