mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
Merge pull request #4017 from mechanarchy/patch-1
Fix SQL Console error messages
This commit is contained in:
commit
41844cf817
@ -173,7 +173,7 @@ export default class Entrypoints extends Component {
|
||||
const resp = await server.post(`sql/execute/${note.noteId}`);
|
||||
|
||||
if (!resp.success) {
|
||||
toastService.showError(`Error occurred while executing SQL query: ${resp.message}`);
|
||||
toastService.showError(`Error occurred while executing SQL query: ${resp.error}`);
|
||||
}
|
||||
|
||||
await appContext.triggerEvent('sqlQueryResults', {ntxId: ntxId, results: resp.results});
|
||||
|
Loading…
x
Reference in New Issue
Block a user