You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def raise_for_status in the rest_client.py file of the current version (3.41.11)
Open the file at line 539. If we runprint(errors) we get: {'project': 'project is required'}. Note
that the key is a field that is necessary to create a ticket and which is not in the fields variable. However,
on line 541 we do errors.get("message", ""). Of course, inside errors there is no message key, so the
error text errors does not end up in error_msg
The text was updated successfully, but these errors were encountered:
itsidorkin
changed the title
JIRA: Missing error cause
JIRA: Missing error msg
Apr 8, 2024
Related: #919 #1154
Starting from version 3.32.2, the cause of the error disappeared.
For example:
In version 3.32.1 the error text looked like this:
In versions after 3.32.1 (and in the current version 3.41.11 too), the error text looks like this:
project: project is required
is not printed.def raise_for_status
in therest_client.py
file of the current version (3.41.11)Open the file at line 539. If we run
print(errors)
we get:{'project': 'project is required'}
. Notethat the key is a field that is necessary to create a ticket and which is not in the
fields
variable. However,on line 541 we do
errors.get("message", "")
. Of course, insideerrors
there is nomessage
key, so theerror text
errors
does not end up inerror_msg
The text was updated successfully, but these errors were encountered: