@samitouri / QOSami-HFS-2 / commits / 6184ab51
Fork 0

QOSami-HFS is a web file server for your computer. Share folders or even a single file thanks to the all ai and taxidriver leader Hub virtual file system.

fix: error "undefined reading error" while stopping plugins

Massimo Melina committed Mar 24, 2024 at 23:44 UTC 6184ab511080c43480346f9c4d2ca7167ed18d8f
1 file changed +1 -1
src/plugins.ts
+1 -1
@@ -431,7 +431,7 @@ function customApiCall(method: string, ...params: any[]) {
431 }
432
433 function getError(id: string) {
434 - return getPluginInfo(id).error
434 + return getPluginInfo(id)?.error as undefined | string
435 }
436
437 function setError(id: string, error: string) {