I think it's an excellent question. It feels strange to give such informational error messages, but I really agree that it's a huge service. These messages are meant to be seen by developers and I'd love to see these spelled out in some friendly detail.
Does anyone have any compelling arguments against giving developers troubleshooting directions in errors? Thanks Fabrice @weaverryan On Feb 7, 2011 6:16 PM, "Fabrice Bernhard" <[email protected]> wrote: > Dear all, > > I am using my current lack of familiarity with Symfony2 as a good > motivation to improve usability of the framework for noobs and > document it at the same time. > > Right now for example I forgot to register my bundle and found the > corresponding error message quite unclear. > > Bundle "MyBundle" does not exist or it is not enabled. > > I propose to rewrite in a more pedagogical way (https://github.com/ > fabriceb/symfony/commit/fef2a6b501281371cb94a3a364a94ec018e09157): > > But this raises an interesting question: what would actually be the > general recommended way to report errors for you? > - just a factual description of the error : Bundle "MyBundle" does > not exist or it is not enabled. > - The friendly type: Bundle "MyBundle" does not exist or it is not > enabled. Did you forget to add it in the registerBundles() function of > your AppKernel.php file? > - The mentor type: Bundle "MyBundle" does not exist or it is not > enabled. You probably forgot to add it in the registerBundles() > function of your AppKernel.php file. > > Maybe this is just a detail... but I have the impression that this is > the kind of details that can transform regular 5-minutes frustrations > into 10-seconds correct-and-enjoy moments. Let me know what you think > about this! > > Cheers, > > Fabrice Bernhard > -- > http://www.allomatch.com > http://www.theodo.fr > +33 6 23 52 11 95 > > -- > If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
