askpass: Don't log error when user cancels askpass prompt (#39544)
Release Notes: - N/A *or* Added/Fixed/Improved ...
This commit is contained in:
@@ -2110,7 +2110,10 @@ impl GitStore {
|
||||
anyhow::bail!("no askpass found");
|
||||
};
|
||||
|
||||
let response = askpass.ask_password(envelope.payload.prompt).await?;
|
||||
let response = askpass
|
||||
.ask_password(envelope.payload.prompt)
|
||||
.await
|
||||
.ok_or_else(|| anyhow::anyhow!("askpass cancelled"))?;
|
||||
|
||||
delegates
|
||||
.lock()
|
||||
|
||||
Reference in New Issue
Block a user