mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 10:16:44 +00:00
fix(claws): align agent removal preconditions
This commit is contained in:
@@ -130,7 +130,7 @@ export async function claimClawAgentConfigRemoval(params: {
|
||||
nextConfig: committed.nextConfig,
|
||||
};
|
||||
} catch (error) {
|
||||
if (!(error instanceof AgentConfigPreconditionError) || error.kind !== "not-found") {
|
||||
if (!(error instanceof AgentConfigPreconditionError)) {
|
||||
throw error;
|
||||
}
|
||||
const latestConfig = getRuntimeConfig();
|
||||
|
||||
Reference in New Issue
Block a user