mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
better error reporting on failed search
This commit is contained in:
@@ -17,7 +17,8 @@ function searchNotes(req) {
|
||||
|
||||
try {
|
||||
return {
|
||||
success: true,
|
||||
success: !searchContext.hasError(),
|
||||
message: searchContext.getError(),
|
||||
count,
|
||||
results
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user