fix: add panic recovery to search-local handler, remove unused event emission
Added defer/recover to SearchLocalHandler to prevent panics from crashing the app. Removed the now-unused Wails event emission from Search() and the runtime import — local results are served via the HTTP endpoint exclusively.
This commit is contained in:
@@ -70,6 +70,10 @@ export function SearchLocal(arg1) {
|
||||
return window['go']['explore']['Service']['SearchLocal'](arg1);
|
||||
}
|
||||
|
||||
export function SearchLocalHandler() {
|
||||
return window['go']['explore']['Service']['SearchLocalHandler']();
|
||||
}
|
||||
|
||||
export function SearchRecordings(arg1) {
|
||||
return window['go']['explore']['Service']['SearchRecordings'](arg1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user