fix wtv-flashrom catch-all error messages
This commit is contained in:
@@ -1,6 +1,4 @@
|
|||||||
var minisrv_service_file = true;
|
var minisrv_service_file = true;
|
||||||
|
|
||||||
const WTVFlashrom = require("./WTVFlashrom.js");
|
|
||||||
request_is_async = true;
|
request_is_async = true;
|
||||||
|
|
||||||
var bf0app_update = false;
|
var bf0app_update = false;
|
||||||
|
|||||||
@@ -140,6 +140,7 @@ async function processPath(socket, service_vault_file_path, request_headers = ne
|
|||||||
clientShowAlert: clientShowAlert,
|
clientShowAlert: clientShowAlert,
|
||||||
WTVClientSessionData: WTVClientSessionData,
|
WTVClientSessionData: WTVClientSessionData,
|
||||||
WTVClientCapabilities: WTVClientCapabilities,
|
WTVClientCapabilities: WTVClientCapabilities,
|
||||||
|
WTVFlashrom: WTVFlashrom,
|
||||||
strftime: strftime,
|
strftime: strftime,
|
||||||
CryptoJS: CryptoJS,
|
CryptoJS: CryptoJS,
|
||||||
fs: fs,
|
fs: fs,
|
||||||
@@ -396,10 +397,10 @@ async function processPath(socket, service_vault_file_path, request_headers = ne
|
|||||||
|
|
||||||
// Here we read back certain data from the ServiceVault Script Context Object
|
// Here we read back certain data from the ServiceVault Script Context Object
|
||||||
updateFromVM.forEach((item) => {
|
updateFromVM.forEach((item) => {
|
||||||
eval(item[0] + ' = contextObj["' + item[1] + '"]');
|
eval(item[0] +' = contextObj["'+item[1]+'"]');
|
||||||
})
|
})
|
||||||
|
|
||||||
if (request_is_async && !minisrv_config.config.debug_flags.quiet) console.log(" * Script requested Asynchronous mode");
|
if (request_is_async && !minisrv_config.config.debug_flags.quiet) console.log(" * Script requested Asynchronous mode");
|
||||||
|
break;
|
||||||
} else {
|
} else {
|
||||||
service_check_dir.pop();
|
service_check_dir.pop();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user