| Index: runtime/bin/stdio_patch.dart
|
| diff --git a/runtime/bin/stdio_patch.dart b/runtime/bin/stdio_patch.dart
|
| index d6d00776add9d41b60c632c09e011f43ba044fe1..d096a0307ff530095dea1ab8a90101ba6f3ae296 100644
|
| --- a/runtime/bin/stdio_patch.dart
|
| +++ b/runtime/bin/stdio_patch.dart
|
| @@ -14,7 +14,8 @@ class _StdIOUtils {
|
| case _STDIO_HANDLE_TYPE_FILE:
|
| return new Stdin._(new _FileStream.forStdin());
|
| default:
|
| - throw new FileSystemException("Unsupported stdin type");
|
| + throw new FileSystemException(
|
| + "Couldn't determine file type of stdin (fd 0)");
|
| }
|
| }
|
|
|
| @@ -28,7 +29,8 @@ class _StdIOUtils {
|
| case _STDIO_HANDLE_TYPE_FILE:
|
| return new Stdout._(new IOSink(new _StdConsumer(fd)), fd);
|
| default:
|
| - throw new FileSystemException("Unsupported stdin type");
|
| + throw new FileSystemException(
|
| + "Couldn't determine file type of stdio handle (fd $fd)");
|
| }
|
| }
|
|
|
|
|