| Index: sdk/lib/_internal/pub/lib/src/command/serve.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/command/serve.dart b/sdk/lib/_internal/pub/lib/src/command/serve.dart
|
| index 3a46f5ca398afda8dfb4c4cd149bd0aa4d86d747..d02070b96f7d0853bdeacc4541646b1a423780aa 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/command/serve.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/command/serve.dart
|
| @@ -72,8 +72,8 @@ class ServeCommand extends PubCommand {
|
| log.message("Build completed with "
|
| "${_red}${result.errors.length}$_none errors.");
|
| }
|
| - }, onError: (error) {
|
| - if (!completer.isCompleted) completer.completeError(error);
|
| + }, onError: (error, [StackTrace stackTrace]) {
|
| + if (!completer.isCompleted) completer.completeError(error, stackTrace);
|
| });
|
|
|
| server.results.listen((result) {
|
|
|