Skip to content

Commit 977fc26

Browse files
committed
fix: error log
1 parent 6ff403c commit 977fc26

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/oracle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class OracleDB {
4141
try {
4242
return await this.connection.execute(sql, bindParams, options);
4343
} catch (err) {
44-
this.log(err.message);
44+
this.log.error(err.message);
4545
this.getConnection();
4646
}
4747
}

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "egg-oracle",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Oracle database plugin for egg",
55
"eggPlugin": {
66
"name": "oracle"
@@ -17,10 +17,10 @@
1717
},
1818
"devDependencies": {
1919
"autod": "^2.8.0",
20-
"egg": "^1.4.0",
21-
"egg-bin": "^3.6.0",
22-
"egg-ci": "^1.7.0",
23-
"egg-mock": "^3.7.2",
20+
"egg": "^1.5.0",
21+
"egg-bin": "^4.0.4",
22+
"egg-ci": "^1.8.0",
23+
"egg-mock": "^3.8.0",
2424
"eslint": "^4.0.0",
2525
"eslint-config-egg": "^4.2.1",
2626
"supertest": "^3.0.0",

0 commit comments

Comments
 (0)