Index: runtime/vm/service.cc |
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc |
index f75291d95ac454a976926771032fb4f5229385d2..1b69c2e53bbd74412a0ce4f360c3498c58784586 100644 |
--- a/runtime/vm/service.cc |
+++ b/runtime/vm/service.cc |
@@ -996,6 +996,10 @@ static void ReportPauseOnConsole(ServiceEvent* event) { |
OS::PrintErr(" Connect to Observatory at %s to debug.\n", |
ServiceIsolate::server_address()); |
} |
+ const Error& err = Error::Handle(Thread::Current()->sticky_error()); |
+ if (!err.IsNull()) { |
+ OS::PrintErr("%s\n", err.ToErrorCString()); |
+ } |
} |