1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00

Add error notification if executing a query in a button action fails

This commit is contained in:
Andrew Kingston 2022-02-25 21:29:02 +00:00
parent 4f5d3fc446
commit 47d8a1e628

View file

@ -133,6 +133,10 @@ const queryExecutionHandler = async action => {
return { result }
} catch (error) {
notificationStore.actions.error(
"An error occurred while executing the query"
)
// Abort next actions
return false
}