mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
better error reporting on failed search
This commit is contained in:
@@ -165,7 +165,7 @@ export default class Entrypoints extends Component {
|
||||
const response = await server.get('search/' + encodeURIComponent(searchText) + '?includeNoteContent=true&excludeArchived=true&fuzzyAttributeSearch=false');
|
||||
|
||||
if (!response.success) {
|
||||
toastService.showError("Search failed.", 3000);
|
||||
toastService.showError("Search failed: " + response.message, 10000);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user