Simplified error handling for JIRA API requests.