Index: utils/apidoc/apidoc.dart |
diff --git a/utils/apidoc/apidoc.dart b/utils/apidoc/apidoc.dart |
index b7783b46dd7abaddcde35037908da050111e4031..233f9be67e83063eeccc306652e02d97666999f4 100644 |
--- a/utils/apidoc/apidoc.dart |
+++ b/utils/apidoc/apidoc.dart |
@@ -155,6 +155,8 @@ void main() { |
.then((_) => print(apidoc.status)) |
.catchError((e) { |
print('Error: generation failed: ${e}'); |
+ var trace = getAttachedStackTrace(e); |
+ if (trace != null) print("StackTrace: $trace"); |
apidoc.cleanup(); |
exit(1); |
}) |