Code

Don't try to display metric information after the query failed.