| Index: utils/tests/pub/command_line_config.dart
|
| diff --git a/utils/tests/pub/command_line_config.dart b/utils/tests/pub/command_line_config.dart
|
| index 2fbc3cd4a068c95156ced36be1c80bc4be47a776..9a60951be7c30c88b9e7aeef2a8799c89f8f7d9a 100644
|
| --- a/utils/tests/pub/command_line_config.dart
|
| +++ b/utils/tests/pub/command_line_config.dart
|
| @@ -153,7 +153,9 @@ class _StackFrame {
|
|
|
| if (match == null) {
|
| match = coreRegExp.firstMatch(text);
|
| - if (match == null) throw "Couldn't parse stack trace line '$text'.";
|
| + if (match == null) {
|
| + throw FormatException("Couldn't parse stack trace line '$text'.");
|
| + }
|
| isCore = true;
|
| }
|
|
|
|
|