mirror of
https://github.com/groupe1cir1n/groupe1CIR1Njs.git
synced 2026-01-18 16:37:25 +01:00
Change a console.log to a console.error
This commit is contained in:
@@ -171,7 +171,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
document.getElementById(elementId).innerHTML = `<h2>Météo à ${city} :</h2> ${weatherData.temperature}°C, ${weatherData.condition}`;
|
||||
})
|
||||
.catch(error => {
|
||||
console.log('Une erreur s\'est produite :', error);
|
||||
console.error('Une erreur s\'est produite :', error);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user