We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d2d7e5 commit 83f4da3Copy full SHA for 83f4da3
src/secrets/mod.rs
@@ -286,9 +286,10 @@ impl SecretManager {
286
if !updated {
287
// Our Creating record was deleted while we were writing to backend.
288
// The backend value is now orphaned (harmless, will be overwritten on next create).
289
- return Err(SecretError::Database(
290
- "Secret was deleted during creation".to_string(),
291
- ));
+ return Err(SecretError::Database(format!(
+ "Secret '{}' was deleted by another process while being created; please retry",
+ normalized
292
+ )));
293
}
294
295
Ok(())
0 commit comments