| Index: tools/version.dart
|
| diff --git a/tools/version.dart b/tools/version.dart
|
| index eb10ac747074fde17375432d7e8a7c7d0c23fbd6..6972667c4a4e372709d916910f7de405a104d9bf 100644
|
| --- a/tools/version.dart
|
| +++ b/tools/version.dart
|
| @@ -4,6 +4,7 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| import "dart:io";
|
| +import "dart:async" show getAttachedStackTrace;
|
| import "release/version.dart";
|
|
|
| void main() {
|
| @@ -14,6 +15,8 @@ void main() {
|
| print(currentVersion);
|
| }).catchError((e) {
|
| print("Could not create version number, failed with: $e");
|
| + var trace = getAttachedStackTrace(e);
|
| + if (trace != null) print("StackTrace: $trace");
|
| return true;
|
| });
|
| }
|
|
|