Skip to content

Commit 374a646

Browse files
committed
fix: remove non possible error catch
1 parent ce45865 commit 374a646

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/tools/actor.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -398,11 +398,6 @@ The step parameter enforces this workflow - you cannot call an Actor without fir
398398

399399
return { content };
400400
} catch (error) {
401-
if (error instanceof Error && error.message === 'Operation cancelled') {
402-
// Receivers of cancellation notifications SHOULD NOT send a response for the cancelled request
403-
// https://modelcontextprotocol.io/specification/2025-06-18/basic/utilities/cancellation#behavior-requirements
404-
return { };
405-
}
406401
log.error('Error with Actor operation', { error, actorName, step });
407402
return {
408403
content: [

0 commit comments

Comments
 (0)