Skip to content

Commit

Permalink
fix: error log
Browse files Browse the repository at this point in the history
  • Loading branch information
cuyl committed Jun 23, 2017
1 parent 6ff403c commit 977fc26
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/oracle.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class OracleDB {
try {
return await this.connection.execute(sql, bindParams, options);
} catch (err) {
this.log(err.message);
this.log.error(err.message);
this.getConnection();
}
}
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "egg-oracle",
"version": "1.0.2",
"version": "1.0.3",
"description": "Oracle database plugin for egg",
"eggPlugin": {
"name": "oracle"
Expand All @@ -17,10 +17,10 @@
},
"devDependencies": {
"autod": "^2.8.0",
"egg": "^1.4.0",
"egg-bin": "^3.6.0",
"egg-ci": "^1.7.0",
"egg-mock": "^3.7.2",
"egg": "^1.5.0",
"egg-bin": "^4.0.4",
"egg-ci": "^1.8.0",
"egg-mock": "^3.8.0",
"eslint": "^4.0.0",
"eslint-config-egg": "^4.2.1",
"supertest": "^3.0.0",
Expand Down

0 comments on commit 977fc26

Please sign in to comment.