-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix OpenAI or Azure returns an undefined error message return #283
Conversation
#280 Handle long line
Codecov Report
@@ Coverage Diff @@
## master #283 +/- ##
==========================================
+ Coverage 92.29% 92.46% +0.17%
==========================================
Files 22 22
Lines 662 664 +2
==========================================
+ Hits 611 614 +3
+ Misses 37 36 -1
Partials 14 14
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
|
||
func TestHandleErrorResp(t *testing.T) { | ||
// var errRes *ErrorResponse | ||
var errRes ErrorResponse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unit tests for errRes
not throwing null pointer exceptions
Thank you for the PR! |
Fix: OpenAI or Azure returns an undefined error message return
#280