mirror of
https://github.com/DeNNiiInc/Web-Page-Performance-Test.git
synced 2026-04-18 04:05:58 +00:00
chore: remove db credentials from tracking and add template file
This commit is contained in:
@@ -264,10 +264,13 @@ async function _executeTest(url, options) {
|
||||
];
|
||||
|
||||
try {
|
||||
console.log('📝 Attempting DB Insert for Test:', testId);
|
||||
console.log('👤 User UUID:', options.userUuid);
|
||||
const db = require('../lib/db');
|
||||
await db.pool.query(insertQuery, values);
|
||||
console.log('✅ DB Insert Success!');
|
||||
} catch (dbErr) {
|
||||
console.error('Failed to save result to DB:', dbErr);
|
||||
console.error('❌ Failed to save result to DB:', dbErr);
|
||||
// Don't fail the whole test if DB save fails, just log it
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user