Skip to content

Commit

Permalink
HARMONY-2003: Update error handling in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
ygliuvt committed Jan 30, 2025
1 parent 2ac7369 commit f61d8f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/adapting-new-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Canceled requests are handled internally by Harmony. Harmony will prevent furthe

## 5. Error handling

For unrecoverable conditions, services should raise a `HarmonyException` (or subclass) to trigger a failure. The exception message will be forwarded to Harmony and visible to end users through the job status endpoint (`/jobs/<job-id>`). For details, see [Error Handling](https://github.com/nasa/harmony-service-lib-py/blob/main/README.md#error-handling).
For unrecoverable conditions, services should raise exception to trigger a failure. The exception message will be forwarded to Harmony and visible to end users through the job status endpoint (`/jobs/<job-id>`). See [Error Handling](https://github.com/nasa/harmony-service-lib-py/blob/main/README.md#error-handling) for detailed error handling guidance when using the preferred harmony-service-lib-py for service development.

## 6. Defining environment variables in env-defaults

Expand Down

0 comments on commit f61d8f1

Please sign in to comment.