Skip to content

Commit

Permalink
BE-984 - fixed throw ExplorerError in FabricClient.ts (hyperledger-la…
Browse files Browse the repository at this point in the history
…bs#294)

Signed-off-by: Hammad Mustafa <[email protected]>

Co-authored-by: Hammad Mustafa <[email protected]>
  • Loading branch information
tohammad and Hammad Mustafa authored May 12, 2022
1 parent 3950864 commit 96c18fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/platform/fabric/FabricClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class FabricClient {
} catch (error) {
// TODO in case of the failure, should terminate explorer?
logger.error(error);
throw new ExplorerError(error);
throw new ExplorerError(explorerError.ERROR_1009);
}

// Getting channels from queryChannels
Expand Down

0 comments on commit 96c18fc

Please sign in to comment.