Add error notification if executing a query in a button action fails
This commit is contained in:
parent
4f5d3fc446
commit
47d8a1e628
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue