@less-is-more/less-js 1.4.14 → 1.4.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/router.js +2 -2
package/package.json
CHANGED
package/src/router.js
CHANGED
|
@@ -161,9 +161,9 @@ module.exports = class Router {
|
|
|
161
161
|
|
|
162
162
|
static _sendError(message, res, errorLevel = false) {
|
|
163
163
|
if (errorLevel) {
|
|
164
|
-
console.warn(message);
|
|
165
|
-
} else {
|
|
166
164
|
console.error(message);
|
|
165
|
+
} else {
|
|
166
|
+
console.warn(message);
|
|
167
167
|
}
|
|
168
168
|
if (this.#defaultFormat) {
|
|
169
169
|
res.send(
|