Skip to content

Commit 3fab5f5

Browse files
authored
Update Byte.php
1 parent de491fe commit 3fab5f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Byte.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function getOpenid($code, $anonymous_code)
161161
if ($result['error'] == 0) {
162162
return $result;
163163
}
164-
throw new \Exception($result['err_no']);
164+
throw new \Exception($result['errmsg'].$result['errcode']);
165165
}
166166
/**
167167
* 异步回调

0 commit comments

Comments
 (0)