improve logging
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user