mythix 2.0.2 → 2.0.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mythix",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Mythix is a NodeJS web-app framework",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -175,7 +175,7 @@ class HTTPServer {
175
175
  () => rootNext(),
176
176
  (error) => {
177
177
  if (!(error instanceof HTTPBaseError))
178
- this.getApplication().error('Error in middleware: ', error);
178
+ this.getApplication().getLogger().error('Error in middleware: ', error);
179
179
  },
180
180
  );
181
181
  }