magento / community-features

Magento Features Development is an Initiative to Allows Community Memebers Join to Development of Magento Features
46 stars 18 forks source link

ConsoleOutputHandler should tell you the entry.message when it errors. #190

Open LiamKarlMitchell opened 4 years ago

LiamKarlMitchell commented 4 years ago

Summary (*)

Magento 2.3

The message on the entry could have useful information to help fix the mistake made when developing a component.

Currently it gives

[ERROR] Failed to load the "Blah_Blah/js/view/somecomponent" component.

Examples (*)

But the entry.message actually contains helpful information that could lead to the cause of the problem.

Failed to load the "${$.component}" component.

Proposed solution

console.error(displayString, entry.message);
m2-assistant[bot] commented 4 years ago

Hi @LiamKarlMitchell. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.3-develop instance - upcoming 2.3.x release

For more details, please, review the Magento Contributor Assistant documentation.

@LiamKarlMitchell do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?


m2-assistant[bot] commented 4 years ago

Hi @engcom-Charlie. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

m2-assistant[bot] commented 4 years ago

Hi @sdzhepa. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

sdzhepa commented 4 years ago

Hello @LiamKarlMitchell

Thank you for feedback and proposal!

Based on the description and label feature request the issue has been transferred to Magento Feature Request public repo.