[flutter_conductor] log to stderr but do not crash conductor if branch name validation fails (#99181)
This commit is contained in:
committed by
GitHub
parent
c2269611f4
commit
fac90f44ba
@@ -377,9 +377,12 @@ class StartContext extends Context {
|
||||
candidateBranch,
|
||||
exact: false,
|
||||
));
|
||||
// [force] means we know this would fail but need to publish anyway
|
||||
if (!force) {
|
||||
|
||||
try {
|
||||
lastVersion.ensureValid(candidateBranch, incrementLetter);
|
||||
} on ConductorException catch (e) {
|
||||
// Let the user know, but resume execution
|
||||
stdio.printError(e.message);
|
||||
}
|
||||
|
||||
Version nextVersion = calculateNextVersion(lastVersion);
|
||||
|
||||
Reference in New Issue
Block a user