Skip to content

Commit 3060d7e

Browse files
committed
Improve DevContainer failure message for recovery environment
1 parent 7183b9e commit 3060d7e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

improved-devcontainer-message.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Improved DevContainer Error Message
2+
3+
## Current message:
4+
"failed to start dev container, see logs for details"
5+
6+
## Improved message:
7+
"DevContainer configuration failed to apply. Using a basic recovery environment instead. Your custom tools and extensions may be unavailable."
8+
9+
## Alternative (shorter version):
10+
"Using basic recovery environment. Custom tools unavailable. See logs for details."
11+
12+
## Explanation:
13+
The improved message:
14+
1. Clearly states what happened (DevContainer failed)
15+
2. Explains what's happening now (using recovery environment)
16+
3. Sets expectations for the user (custom tools unavailable)
17+
4. Uses plain language without internal terminology
18+
5. Is concise enough for a UI error message
19+
6. Accurately describes the recovery container scenario
20+
21+
This message helps users understand:
22+
- Their workspace is still usable (just in a limited way)
23+
- Their custom configuration didn't apply
24+
- They need to check logs for more details if they want to fix the issue

0 commit comments

Comments
 (0)