From 4b0c979d278de38528db7f1ccadb6a5bcfe06dcb Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Wed, 29 Nov 2023 14:31:25 +0000 Subject: [PATCH] Update worldmap.js --- worldmap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldmap.js b/worldmap.js index 33e7f50..57b95eb 100644 --- a/worldmap.js +++ b/worldmap.js @@ -169,7 +169,7 @@ module.exports = function(RED) { if (msg.payload.command.map.pmtiles.indexOf("http") !== 0) { fs.symlink(msg.payload.command.map.pmtiles, __dirname+'/worldmap/'+msg.payload.command.map.name+'.pmtiles', 'file', (err) => { if (err) { - if (err.code !== "EEXIST") { console.log(err); } + if (err.code !== "EEXIST") { node.log("PMTiles "+err.code,msg); } } }); msg.payload.command.map.pmtiles = msg.payload.command.map.name+'.pmtiles';