Cope with prospect detection not working during approach / runout

This commit is contained in:
D. Berge
2020-09-04 01:31:39 +02:00
parent 0fc795d1c4
commit a9a084b531

View File

@@ -61,7 +61,7 @@ async function getNearestPreplot (candidates) {
const client = await pool.connect(); const client = await pool.connect();
const res = await client.query(text, values); const res = await client.query(text, values);
client.release(); client.release();
return res.rows[0].schema; return res.rows[0] && res.rows[0].schema;
} }
async function saveOnline (dataset, opts = {}) { async function saveOnline (dataset, opts = {}) {