chore: use logx.Must instead of log.Fatal (#3189)
This commit is contained in:
@@ -343,7 +343,7 @@ func buildRequest(rs requestSettings) (*http.Request, error) {
|
||||
"time=" + strconv.FormatInt(rs.timestamp, 10),
|
||||
}, "; ")
|
||||
|
||||
encrypter, err := codec.NewRsaEncrypter([]byte(pubKey))
|
||||
encrypter, err := codec.NewRsaEncrypter(pubKey)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user