From 9586b117d794574bee31929c8eb67697f956075c Mon Sep 17 00:00:00 2001 From: Pranav Barthwal <110532770+PranavBarthwal@users.noreply.github.com> Date: Wed, 14 Feb 2024 17:35:31 +0000 Subject: [PATCH] fix error --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 340d96c..937f1ce 100644 --- a/app.js +++ b/app.js @@ -125,7 +125,7 @@ particlesJS("bg", { displayData(data.url, data.explanation, data.title, data.date, data.copyright ) }) - .catch((error) => console.log(error)) + .catch((error) => console.error(error)) //function to display data in apod section @@ -170,7 +170,7 @@ function displayRover(){ updateDom(img_src, date, roverName, camera, launch, land, status) }) - .catch((error) => console.log(error)) + .catch((error) => console.error(error)) } function updateDom(img_src, date, roverName, camera, launch, land, status){