1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 13:25:45 +02:00

resolve: reword the too-many-duplicates exception message

For one thing, it should _say_ that there are too many duplicates.
We were making the user read the manual to find that out.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
Zygo Blaxell 2021-11-29 21:20:47 -05:00
parent ff3b5a7a1b
commit 670fce5be5
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ bees will loop billions of times considering all possibilities. This is
a waste of time, so an exception is currently used to break out of such
loops early. The exception text in this case is:
`FIXME: bailing out here, need to fix this further up the call stack`
`FIXME: too many duplicate candidates, bailing out here`
Terminating bees with SIGTERM

View File

@ -418,7 +418,7 @@ BeesResolver::replace_dst(const BeesFileRange &dst_bfr)
BEESCOUNT(replacedst_same);
// stop looping here, all the other srcs will probably fail this test too
BeesTracer::set_silent();
throw runtime_error("FIXME: bailing out here, need to fix this further up the call stack");
throw runtime_error("FIXME: too many duplicate candidates, bailing out here");
}
// Make pair(src, dst)