mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-13 00:40:22 +00:00
improve the error message here
This commit is contained in:
parent
1c2b4d8d43
commit
abeebfedc8
1 changed files with 6 additions and 1 deletions
|
@ -631,7 +631,12 @@ where
|
|||
// has gone horribly wrong. This panic will
|
||||
// (unfortunately) abort the process, but recovery is
|
||||
// not possible.
|
||||
_ => panic!("unexpected query state"),
|
||||
_ => panic!(
|
||||
"\
|
||||
Unexpected panic during query evaluation, aborting the process.
|
||||
|
||||
Please report this bug to https://github.com/salsa-rs/salsa/issues."
|
||||
),
|
||||
}
|
||||
} else {
|
||||
// If no panic occurred, then panic guard ought to be
|
||||
|
|
Loading…
Reference in a new issue