Open haydenbleasel opened 1 year ago
Update: this is because we're throwing a custom error message rather than what's being returned from the API:
Hmm, I looked at it, I installed android studio and could not replicate it. I even tried adding some spaces to the user id if it would make the id invalid but it was still valid.
what we could do is to update the source code and version:
if (is2xx(httpResponse.statusCode())) { ----callApiToGenerateCode(event, codeAndLanguage); } else if (HttpStatus.SC_NOT_FOUND == httpResponse.statusCode()){ ----NotificationService.showWarningNotification("User is not authenticated"); } else { ----NotificationService.showWarningNotification("Couls not authenticate: " + httpResponse.body()); }
@haydenbleasel
Please confirm it and will make changes
https://github.com/beskar-co/jetbrains-refraction/pull/4
@haydenbleasel Here is the pull request.
Feedback from Intercom:
I'll try to replicate on Android Studio first.