Skip to content

Improve error handling when fetching datasources from Knowledge Space API#21

Open
the-asmit wants to merge 1 commit intoINCF:mainfrom
the-asmit:improve-datasource-api-error-handling
Open

Improve error handling when fetching datasources from Knowledge Space API#21
the-asmit wants to merge 1 commit intoINCF:mainfrom
the-asmit:improve-datasource-api-error-handling

Conversation

@the-asmit
Copy link

Context:
The Knowledge Space API is an external dependency and may fail due to network issues, timeouts, or upstream errors.

What changed:

  • Added explicit timeout handling
  • Added clearer upstream error reporting via HTTP exceptions

Why:

  • Improves reliability and debuggability of the API
  • Prevents unclear 500 errors caused by upstream failures

Notes:
Happy to iterate based on feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant