datopian / frontend-v2

CKAN / Data Portal frontend as microservice in pure Javascript (Node).
http://tech.datopian.com/frontend/
MIT License
38 stars 18 forks source link

[logs][s] Added better error logs theme loading errors #186

Open leomrocha opened 4 years ago

leomrocha commented 4 years ago

More descriptive and easy to follow error logs for theme failures

EvgeniiaVak commented 4 years ago

I like to have more logs :+1:

EvgeniiaVak commented 4 years ago

@anuveyatsu @starsinmypockets are there any rules against error level logs? (Asking this because I see utils/index.js is writing errors to warn() level everywhere)

anuveyatsu commented 3 years ago

@EvgeniiaVak no, there is no such rules. Feel free to improve it 👍

@leomrocha looks like this PR also includes prettier not just better error logs.