Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
c26ead20
Unverified
Commit
c26ead20
authored
May 06, 2024
by
Ethnical
Committed by
GitHub
May 06, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: Remove the logs from `stderr` and `stdout`. (#10352)
parent
0f11f2aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
service.ts
packages/chain-mon/internal/multisig-mon/service.ts
+8
-6
No files found.
packages/chain-mon/internal/multisig-mon/service.ts
View file @
c26ead20
...
@@ -160,18 +160,20 @@ export class MultisigMonService extends BaseServiceV2<
...
@@ -160,18 +160,20 @@ export class MultisigMonService extends BaseServiceV2<
`OP_SERVICE_ACCOUNT_TOKEN=
${
this
.
options
.
onePassServiceToken
}
op item list --format json --vault="
${
account
.
vault
}
"`
,
`OP_SERVICE_ACCOUNT_TOKEN=
${
this
.
options
.
onePassServiceToken
}
op item list --format json --vault="
${
account
.
vault
}
"`
,
(
error
,
stdout
,
stderr
)
=>
{
(
error
,
stdout
,
stderr
)
=>
{
if
(
error
)
{
if
(
error
)
{
this
.
logger
.
error
(
`got unexpected error from onepass:
${
error
}
`
,
{
this
.
logger
.
error
(
`got unexpected error from onepass:`
,
{
section
:
'
onePassNonce
'
,
section
:
'
onePassNonce
'
,
name
:
'
getOnePassNonce
'
,
name
:
'
getOnePassNonce
'
,
})
})
return
return
}
}
if
(
stderr
)
{
if
(
stderr
)
{
this
.
logger
.
error
(
`got unexpected error from onepass`
,
{
this
.
logger
.
error
(
section
:
'
onePassNonce
'
,
`got unexpected error (from the stderr) from onepass`
,
name
:
'
getOnePassNonce
'
,
{
stderr
,
section
:
'
onePassNonce
'
,
})
name
:
'
getOnePassNonce
'
,
}
)
return
return
}
}
const
items
=
JSON
.
parse
(
stdout
)
const
items
=
JSON
.
parse
(
stdout
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment