Index: runtime/observatory/lib/src/elements/eval_box.html |
diff --git a/runtime/observatory/lib/src/elements/eval_box.html b/runtime/observatory/lib/src/elements/eval_box.html |
index b556358ec721fdf3586403115ae520794e3cef86..4df73fa1b7acd8966bb7a5d76bab05681f50252b 100644 |
--- a/runtime/observatory/lib/src/elements/eval_box.html |
+++ b/runtime/observatory/lib/src/elements/eval_box.html |
@@ -74,11 +74,16 @@ |
expr="{{ result['expr'] }}">{{ result['expr'] }}</a> |
</td> |
<td class="historyValue"> |
- <template if="{{ result['value'] == null }}"> |
- <div style="color:#aaa;cursor:wait;"><pending></div> |
+ <template if="{{ result['error'] != null}}"> |
+ <div style="color:red">{{ result['error'] }}</div> |
</template> |
- <template if="{{ result['value'] != null }}"> |
- <any-service-ref ref="{{ result['value'] }}"></any-service-ref> |
+ <template if="{{ result['error'] == null}}"> |
+ <template if="{{ result['value'] != null }}"> |
+ <any-service-ref ref="{{ result['value'] }}"></any-service-ref> |
+ </template> |
+ <template if="{{ result['value'] == null }}"> |
+ <div style="color:#aaa;cursor:wait;"><pending></div> |
+ </template> |
</template> |
</td> |
</tr> |