Error log prints [object Object] #592
Labels
pending-author
[Issue] Awaiting further information or action from the issue author
pending-triage
[Issue] Ticket is pending to be prioritised
Describe the issue you're facing
While trying to pull components the error log prints out only
[object Object]
.I mistakenly set my space to 'us' although the actual storyblok space is in eu. This resulted in the api being something like this:
And so when i tried to pull the components the error printed out by
errorHandler
was[object Object]
, since the original error is:Reproduction
https://no-link-idonthave-astorybloklink
Steps to reproduce
storyblok pull-components --space space_number
[object Object]
System Info
System: OS: Linux 6.8 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish) CPU: (12) x64 AMD Ryzen 5 5500U with Radeon Graphics Memory: 2.83 GB / 13.47 GB Container: Yes Shell: 5.8.1 - /usr/bin/zsh Binaries: Node: 18.17.1 - /usr/bin/node Yarn: 1.22.19 - /usr/bin/yarn npm: 9.6.7 - /usr/bin/npm pnpm: 9.12.1 - ~/.local/share/pnpm/pnpm Browsers: Brave Browser: 128.1.69.168 Chrome: 129.0.6668.100
Used Package Manager
pnpm
Error logs (Optional)
X An error ocurred in pull-components task when load components data
X An error occurred when executing the pull-components task: [object Object]
Validations
The text was updated successfully, but these errors were encountered: