Skip to content

Commit

Permalink
[pinpoint-apm#186] Change error log level to info log
Browse files Browse the repository at this point in the history
  • Loading branch information
feelform committed May 2, 2024
1 parent ddac37c commit 63d786e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
name: CI

# Controls when the action will run.
on: [push, pull_request_target]
on: [push, pull_request]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
4 changes: 2 additions & 2 deletions lib/utils/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ class Logger {
}

warn() {
this.logger.warn.apply(null, arguments)
this.logger.info.apply(null, arguments)
}

error() {
this.logger.error.apply(null, arguments)
this.logger.info.apply(null, arguments)
}
}

Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pinpoint-node-agent",
"version": "0.8.4-next.1",
"version": "0.8.4-next.2",
"main": "index.js",
"scripts": {
"test": "tape ./test/**/*.test.js",
Expand Down Expand Up @@ -89,8 +89,5 @@
},
"resolutions": {
"semver": "^7.5.3"
},
"volta": {
"node": "16.20.1"
}
}

0 comments on commit 63d786e

Please sign in to comment.