mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-19 00:03:30 +00:00
fabro(01KM3AY9Z9FWFBDH954H4W16SG): simplify_opus (success)
Fabro-Run: 01KM3AY9Z9FWFBDH954H4W16SG
Fabro-Completed: 6
Fabro-Checkpoint: b879b15728
⚒️ Generated with [Fabro](https://fabro.sh)
This commit is contained in:
parent
007488d01d
commit
2eea1b0435
1 changed files with 9 additions and 20 deletions
|
|
@ -570,27 +570,16 @@ impl Sandbox for DaytonaSandbox {
|
|||
}
|
||||
}
|
||||
}
|
||||
Err(e) if self.github_app.is_none() => {
|
||||
let err = format!(
|
||||
"Git clone failed: {e}. If this is a private repository, \
|
||||
configure a GitHub App with `fabro install` and install it \
|
||||
for your organization."
|
||||
);
|
||||
self.emit(SandboxEvent::GitCloneFailed {
|
||||
url,
|
||||
error: err.clone(),
|
||||
});
|
||||
let duration_ms =
|
||||
u64::try_from(init_start.elapsed().as_millis()).unwrap_or(u64::MAX);
|
||||
self.emit(SandboxEvent::InitializeFailed {
|
||||
provider: "daytona".into(),
|
||||
error: err.clone(),
|
||||
duration_ms,
|
||||
});
|
||||
return Err(err);
|
||||
}
|
||||
Err(e) => {
|
||||
let err = format!("Failed to clone repo into Daytona sandbox: {e}");
|
||||
let err = if self.github_app.is_none() {
|
||||
format!(
|
||||
"Git clone failed: {e}. If this is a private repository, \
|
||||
configure a GitHub App with `fabro install` and install it \
|
||||
for your organization."
|
||||
)
|
||||
} else {
|
||||
format!("Failed to clone repo into Daytona sandbox: {e}")
|
||||
};
|
||||
self.emit(SandboxEvent::GitCloneFailed {
|
||||
url,
|
||||
error: err.clone(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue