Show error.message || error on failed command (#7388)
Show error.message || error on failed command (#7388)

Some exceptions, like module inclusion errors, don't generate nice
Error objects with message defined. This causes hard-to-debug failures.
When encountering an error with no message, show the whole Error object.

Signed-off-by: Jason Prado <e069bb7c4c0ed709ebc953e97d3af2e4edc5496c@gmail.com>

Co-authored-by: Alexandre BODIN <578708072e5676d59d2ac7404f73316177622ca0@users.noreply.github.com>
wistityhq/strapi,wistityhq/strapi