Commit de8274c
committed
COMPASS-2563: Dont send metrics if instance failed
In the case of where an instance load failed, Compass would still try to
send metrics on the deployment without checking if the information was
there. This would cause the metrics send to fail with the vague
'Cannot read property length of null' error.
This fixes that, and allows the error to bubble up and be displayed
nicely to the user.1 parent 4c48eb9 commit de8274c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments