Index: sdk/lib/io/common.dart |
diff --git a/sdk/lib/io/common.dart b/sdk/lib/io/common.dart |
index 6258bcf9090372ec7f3b8b97dc5456bf464ede74..5ef4594af844d2e5b78e99f5c3ea0a062149c398 100644 |
--- a/sdk/lib/io/common.dart |
+++ b/sdk/lib/io/common.dart |
@@ -26,7 +26,7 @@ _exceptionFromResponse(response, String message, String path) { |
assert(_isErrorResponse(response)); |
switch (response[_ERROR_RESPONSE_ERROR_TYPE]) { |
case _ILLEGAL_ARGUMENT_RESPONSE: |
- return new ArgumentError(); |
+ return new ArgumentError("$message: $path"); |
case _OSERROR_RESPONSE: |
var err = new OSError(response[_OSERROR_RESPONSE_MESSAGE], |
response[_OSERROR_RESPONSE_ERROR_CODE]); |