Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sidecar-client-fabric
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
link33
sidecar-client-fabric
Commits
8f527076
Commit
8f527076
authored
Mar 15, 2021
by
zhourong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(*): deal with execution error
parent
f6437e71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
client.go
client.go
+4
-1
No files found.
client.go
View file @
8f527076
...
...
@@ -345,8 +345,11 @@ func (c *Client) InvokeInterchain(from string, index uint64, destAddr string, ca
logger
.
Error
(
"Can't send rollback ibtp back to bitxhub"
,
"err"
,
err
.
Error
())
}
logger
.
Info
(
"response"
,
"cc status"
,
strconv
.
Itoa
(
int
(
res
.
ChaincodeStatus
)),
"payload"
,
string
(
res
.
Payload
),
res
.
ChaincodeStatus
)
if
err
!=
nil
{
return
nil
,
nil
,
err
}
logger
.
Info
(
"response"
,
"cc status"
,
strconv
.
Itoa
(
int
(
res
.
ChaincodeStatus
)),
"payload"
,
string
(
res
.
Payload
))
response
:=
&
Response
{}
if
err
:=
json
.
Unmarshal
(
res
.
Payload
,
response
);
err
!=
nil
{
return
nil
,
nil
,
err
...
...
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