diff --git a/src/public/app/components/entrypoints.js b/src/public/app/components/entrypoints.js index 68117280e..b2c4d306c 100644 --- a/src/public/app/components/entrypoints.js +++ b/src/public/app/components/entrypoints.js @@ -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});