| Index: runtime/vm/message_handler.cc
 | 
| diff --git a/runtime/vm/message_handler.cc b/runtime/vm/message_handler.cc
 | 
| index 2340b65d766794da64779349e0449d8ab03a63a5..e64a05a105aa794d82d836299abacd1f51f93fcf 100644
 | 
| --- a/runtime/vm/message_handler.cc
 | 
| +++ b/runtime/vm/message_handler.cc
 | 
| @@ -382,8 +382,7 @@ void MessageHandler::TaskCallback() {
 | 
|        }
 | 
|        if (FLAG_trace_isolates) {
 | 
|          if (status != kOK && isolate() != NULL) {
 | 
| -          const Error& error =
 | 
| -              Error::Handle(isolate()->object_store()->sticky_error());
 | 
| +          const Error& error = Error::Handle(thread()->sticky_error());
 | 
|            OS::Print("[-] Stopping message handler (%s):\n"
 | 
|                      "\thandler:    %s\n"
 | 
|                      "\terror:    %s\n",
 | 
| 
 |