mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-02 00:03:51 +00:00
fix: end loading without query results (#373)
This commit is contained in:
parent
d0ebdefcee
commit
e25bf9ee8b
@ -153,9 +153,14 @@ export async function useExpressionsQueryProcessor(config: Indexable) {
|
|||||||
ElMessage.error(json.errors);
|
ElMessage.error(json.errors);
|
||||||
return { source: {}, tips: [], typesOfMQE: [] };
|
return { source: {}, tips: [], typesOfMQE: [] };
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
const data = expressionsSource(json);
|
const data = expressionsSource(json);
|
||||||
|
|
||||||
return data;
|
return data;
|
||||||
|
} catch (error) {
|
||||||
|
console.error(error);
|
||||||
|
return { source: {}, tips: [], typesOfMQE: [] };
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function useExpressionsQueryPodsMetrics(
|
export async function useExpressionsQueryPodsMetrics(
|
||||||
|
Loading…
Reference in New Issue
Block a user