mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 00:47:50 +01:00
don't end query if failed if new one came in already
This commit is contained in:
parent
0721f96352
commit
2e58346869
@ -72,6 +72,7 @@ export const pathsLogic = kea<pathsLogicType<PathNode, PathResult>>({
|
||||
try {
|
||||
paths = await api.get(`api/insight/path${params ? `/?${params}` : ''}`)
|
||||
} catch (e) {
|
||||
breakpoint()
|
||||
insightLogic.actions.endQuery(queryId, ViewType.PATHS, null, e)
|
||||
return { paths: [], filter, error: true }
|
||||
}
|
||||
|
@ -67,6 +67,7 @@ export const retentionTableLogic = kea<retentionTableLogicType>({
|
||||
try {
|
||||
res = await api.get(`api/insight/retention/?${urlParams}`)
|
||||
} catch (e) {
|
||||
breakpoint()
|
||||
insightLogic.actions.endQuery(queryId, ViewType.RETENTION, null, e)
|
||||
return []
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user