Index: runtime/vm/service_isolate.cc |
diff --git a/runtime/vm/service_isolate.cc b/runtime/vm/service_isolate.cc |
index 3494b126d91e3af3544d15e0c99c85a5296d0893..3665cf3da69f31e91b501b4d33a5fd6e844888df 100644 |
--- a/runtime/vm/service_isolate.cc |
+++ b/runtime/vm/service_isolate.cc |
@@ -539,6 +539,10 @@ void ServiceIsolate::MaybeInjectVMServiceLibrary(Isolate* isolate) { |
library.SetLoadInProgress(); |
const Error& error = Error::Handle(isolate, |
Compiler::Compile(library, script)); |
+ if (!error.IsNull()) { |
+ OS::PrintErr("vm-service: Isolate creation error: %s\n", |
+ error.ToErrorCString()); |
+ } |
ASSERT(error.IsNull()); |
Dart_Handle result = Dart_FinalizeLoading(false); |
ASSERT(!Dart_IsError(result)); |