Son “Erro descoñecido” Mensaxes realmente mellor que un Stack Trace?

Eu estaba lendo post de Madhur sobre como permitir seguimento de pila exhibe e agora eu estou querendo saber: por que non mostrar sempre un seguimento de pila?

Quen xurdiu con esa regra e por que seguilo?

End users will know something is wrong in either case. At least with a stack trace, poden premer Control-PrintScreen, copiar / pegar en un correo-e e enviá-lo para TI. Isto reduciría claramente o tempo eo esforzo necesarios para resolver o problema.

</final>

Technorati Tags:

3 pensamentos sobre "Son “Erro descoñecido” Mensaxes realmente mellor que un Stack Trace?

  1. Alex Dresko

    For applications I write that won’t ever get into consumershands, I almost always ignore try/catch blocks altogether. When something goes wrong, we get a nice exception message with all the information we need to figure out what’s going on.

    Responder
  2. Jason Coltrin
    I agree. I guess it’s to keep the end user complacent and make them think the developers know what their doing. Or it’s to keep someone from reverse engineering the code and make exploits. The one that gets me is when I build a webpart and drop it into a zone, and nothing is displayed at all.
    Responder
  3. Ningún nome
    In a similar vein, I’ve been frustrated with the dreaded Sharepoint "File not found" error – only slightly less awful than an "Unknown error". (At least you know it’s looking for a file…)
    Now I learned way back in HIGH SCHOOL programming classes to never output errors like "File not found" without telling exactly what file could not be found! Obviously the software knows what file it is looking for – otherwise how could it know that it couldn’t find it!!! Why keep it a secret????
    I’m paying for ENTERPRISE level software and I don’t want HIGH SCHOOL level error messages.
    Responder

Deixe unha resposta

Enderezo de correo electrónico non será publicado. Os campos obrigatorios están marcados *