Intelligence, Advanced Charting & Trading Platform
security(bale): ensure runtime exception text can never leak token URLs
davoodmehraban89 committed
Oct 15, 2026 at 19:32 UTC
2b1cd96108b204c7274d97e421eb3ced32d71d65
1 file changed
+1
-1
scripts/diagnostics/bale-one-message-test.mjs
+1
-1
@@ -80,7 +80,7 @@ if(process.argv[1]&&pathToFileURL(process.argv[1]).href===import.meta.url){
80
console.log(JSON.stringify(result));
81
if(['FAILED','NOT_VERIFIED'].includes(result.status))process.exitCode=1;
82
}catch(e){
83
- console.error(JSON.stringify({status:'FAILED',reason:String(e.message).slice(0,130)}));
83
+ console.error(JSON.stringify({status:'FAILED',reason:'local_verification_or_network_failed_redacted'}));
84
process.exitCode=1;
85
}
86
}