We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88f11db commit e83d2e3Copy full SHA for e83d2e3
src/utils/logging.ts
@@ -31,7 +31,6 @@ export function getHttpStatusCode(error: unknown): number | undefined {
31
/**
32
* Logs HTTP errors based on status code, following apify-core pattern.
33
* Uses `softFail` for status < 500 (API client errors) and `exception` for status >= 500 (API server errors).
34
- * Similar to apify-core's `logHttpError` but uses `softFail` instead of `warning` for < 500.
35
*
36
* @param error - The error object
37
* @param message - The log message
0 commit comments