fix: log cause property from the error (#9944)
Fixes: FRMW-2762 This PR fixes the error reporting to include the original error message and the error cause when logging it using the JSON formatter of Winston. > Side note: There is still a lot of room for improvements in our logging. But that require a overhaul cleanup in multiple places and will require dedicated loggers for commands and APP and special treatment for pretty printing errors. ## Error output in JSON format **Before**  **After** 
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/cli": patch
|
||||
---
|
||||
|
||||
fix: log cause property from the error
|
||||
Reference in New Issue
Block a user