Skip to content

Commit bbcd33e

Browse files
Update index.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 91b3e8c commit bbcd33e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ const reportRequestHandler = async (request, h) => {
545545
function handleIlsWsError (error, h) {
546546
  // Prioritize handling HTTP errors from the upstream API.
547547
  if (error.response && error.response.data) {
548-
  const { status, data } = error.response
548+
const { status, data } = error.response
549549
  server.log(['error', 'ilsws'], `ILSWS API Error - Status: ${status}, Data: ${JSON.stringify(data)}`)
550550

551551
  // Pass the entire error data object from the API directly to the client,

0 commit comments

Comments
 (0)