log error messages with ERROR: prefix (there's wasn't anyt other distinction before)

This commit is contained in:
azivner 2018-02-15 22:30:05 -05:00
parent 9e5f1a0a87
commit abdad1c3ae

View file

@ -22,7 +22,7 @@ function info(message) {
function error(message) { function error(message) {
// we're using .info() instead of .error() because simple-node-logger emits weird error for showError() // we're using .info() instead of .error() because simple-node-logger emits weird error for showError()
info(message); info("ERROR: " + message);
} }
const requestBlacklist = [ "/libraries", "/javascripts", "/images", "/stylesheets" ]; const requestBlacklist = [ "/libraries", "/javascripts", "/images", "/stylesheets" ];