Skip to content

Commit

Permalink
plain logging on defaultFetchHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
devinivy committed Nov 16, 2023
1 parent 5630a12 commit 46b2463
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-and-push-pds-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- main
- multi-pds-auth
- multi-pds-auth-debug
env:
REGISTRY: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_REGISTRY }}
USERNAME: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_USERNAME }}
Expand Down
1 change: 1 addition & 0 deletions packages/xrpc/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export async function defaultFetchHandler(
body: httpResponseBodyParse(res.headers.get('content-type'), resBody),
}
} catch (e) {
console.error('defaultFetchHandler', { uri: httpUri }, e)
throw new XRPCError(ResponseType.Unknown, String(e))
}
}
Expand Down

0 comments on commit 46b2463

Please sign in to comment.