mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-28 03:00:29 -04:00
fix(tools): add Atlassian error extractor to all Jira, JSM, and Confluence tools
Wire up the existing `atlassian-errors` error extractor to all 95 Atlassian tool configs so the executor surfaces meaningful error messages instead of generic status codes. Also fix the extractor itself to handle all three Atlassian error response formats: `errorMessage` (JSM), `errorMessages` array (Jira), and `message` (Confluence). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -74,6 +74,10 @@ const ERROR_EXTRACTORS: ErrorExtractorConfig[] = [
|
||||
if (errorInfo?.data?.message) {
|
||||
return errorInfo.data.message
|
||||
}
|
||||
// Internal proxy route error field fallback
|
||||
if (typeof errorInfo?.data?.error === 'string') {
|
||||
return errorInfo.data.error
|
||||
}
|
||||
return undefined
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user