Index: runtime/bin/vmservice/client/lib/src/observatory_elements/service_ref.dart |
diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/service_ref.dart b/runtime/bin/vmservice/client/lib/src/observatory_elements/service_ref.dart |
index 349532fafcc98a9dfd75c5ac85353b9613621a3e..9b3feb2090c9436fb520ad51620992bb15633de0 100644 |
--- a/runtime/bin/vmservice/client/lib/src/observatory_elements/service_ref.dart |
+++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/service_ref.dart |
@@ -38,13 +38,15 @@ class ServiceRefElement extends ObservatoryElement { |
String get name { |
if (ref == null) { |
- return ''; |
+ return 'NULL REF'; |
} |
String name_key = internal ? 'name' : 'user_name'; |
if (ref[name_key] != null) { |
return ref[name_key]; |
} else if (ref['name'] != null) { |
return ref['name']; |
+ } else if (ref['user_name'] != null) { |
+ return ref['user_name']; |
} |
return ''; |
} |