This commit is contained in:
SuperComboGamer
2025-12-17 22:34:19 -05:00
parent 760f254f78
commit f3dbc996d4
4 changed files with 136 additions and 93 deletions

View File

@@ -155,10 +155,10 @@ export function useAutoMode() {
case "auto_mode_error":
if (event.featureId && event.error) {
// Check if this is a user-initiated cancellation (not a real error)
if (event.errorType === "cancellation") {
// User cancelled the feature - just log as info, not an error
console.log("[AutoMode] Feature cancelled:", event.error);
// Check if this is a user-initiated cancellation or abort (not a real error)
if (event.errorType === "cancellation" || event.errorType === "abort") {
// User cancelled/aborted the feature - just log as info, not an error
console.log("[AutoMode] Feature cancelled/aborted:", event.error);
// Remove from running tasks
if (eventProjectId) {
removeRunningTask(eventProjectId, event.featureId);