mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-06 03:18:23 +00:00
Do not re-add bunker request on failed response send
When sending the bunker response fails, only show the error message instead of re-adding the request back to the pending requests list. https://claude.ai/code/session_015N9LewondeT2cgh3Mv25cR
This commit is contained in:
@@ -354,7 +354,6 @@ object BunkerRequestUtils {
|
||||
}
|
||||
}
|
||||
|
||||
val localBunkerRequest = bunkerRequest.copy()
|
||||
clearRequests()
|
||||
|
||||
// assume that everything worked and try to revert it if it fails
|
||||
@@ -421,7 +420,6 @@ object BunkerRequestUtils {
|
||||
}
|
||||
|
||||
onLoading(false)
|
||||
addRequest(localBunkerRequest)
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user