Skip to content

Commit

Permalink
Change to useful log in initialize (#198)
Browse files Browse the repository at this point in the history
Signed-off-by: 5pecia1 <pdpxpd@gmail.com>
  • Loading branch information
5pecia1 authored Oct 18, 2020
1 parent c85c86f commit 699dfb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/platform/fabric/gateway/FabricGateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class FabricGateway {
// Connect to gateway
await this.gateway.connect(this.config, connectionOptions);
} catch (error) {
logger.error(`${error}`);
logger.error(`${explorerError.ERROR_1010}: ${JSON.stringify(error, null, 2)}`);
throw new ExplorerError(explorerError.ERROR_1010);
}
}
Expand Down

0 comments on commit 699dfb2

Please sign in to comment.