Skip to content

Commit 078abd2

Browse files
authored
Remove a reference to screenshots for generic error (#280)
1 parent bc90433 commit 078abd2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkgs/dart_mcp/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
## 0.3.4-wip
22

33
- Update the tool calling example to include progress notifications.
4+
- Remove a reference to "screenshot" for a generic error that occurs for more
5+
than just screenshots.
46

57
## 0.3.3
68

pkgs/dart_mcp_server/lib/src/mixins/dtd.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,9 +1031,7 @@ base mixin DartToolingDaemonSupport
10311031
)..failureReason = CallToolFailureReason.dtdAlreadyConnected;
10321032

10331033
static final _noActiveDebugSession = CallToolResult(
1034-
content: [
1035-
TextContent(text: 'No active debug session to take a screenshot'),
1036-
],
1034+
content: [TextContent(text: 'No active debug session.')],
10371035
isError: true,
10381036
)..failureReason = CallToolFailureReason.noActiveDebugSession;
10391037

0 commit comments

Comments
 (0)