Skip to content

Commit

Permalink
Improve error handling (#870)
Browse files Browse the repository at this point in the history
* Improve error handling
* Update go mod version
  • Loading branch information
wxing1292 committed Oct 16, 2020
1 parent 27c7aa8 commit 62c89e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion common/persistence/cassandra/cassandraPersistence.go
Original file line number Diff line number Diff line change
Expand Up @@ -1877,7 +1877,10 @@ func (d *cassandraPersistence) ListConcreteExecutions(
continue
}
if _, ok := result["execution"]; ok {
state, _ := mutableStateFromRow(result)
state, err := mutableStateFromRow(result)
if err != nil {
return nil, err
}
wfInfo := state.ExecutionInfo
response.ExecutionInfos = append(response.ExecutionInfos, wfInfo)
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module go.temporal.io/server

go 1.14
go 1.15

require (
cloud.google.com/go/storage v1.9.0
Expand Down

0 comments on commit 62c89e1

Please sign in to comment.