improve logging

This commit is contained in:
Danel Kungla
2025-10-28 16:44:39 +02:00
parent 8bc6089a7f
commit ac95f7810e
2 changed files with 2 additions and 2 deletions

View File

@@ -17,6 +17,6 @@ export default function medusaError(error: any): never {
throw new Error('No response received: ' + error.request);
} else {
// Something happened in setting up the request that triggered an Error
throw new Error('Error setting up the request: ' + error.message);
throw new Error('Error setting up the request: ' + { error });
}
}