Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I am the only one getting errors
Message
 
 
À
30/10/2014 04:04:04
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01610046
Message ID:
01610190
Vues:
24
>>>I was just answering your question:
>>>
>>>"Also, what do you normally do in such situations when you're the only one getting errors in the code which is supposed to error. Do you try to find the reason or just fix them?"
>>>
>>>If you didn't intend doing the former then why ask the question ? :-}
>>
>>Just to get general opinion and others experience in such perplexing situations.
>
>Well I gave my opinion. Seems to me you've just done the equivalent of putting that code in a try/catch and ignoring the exception. And, since you have failed to identify the original source of the problem, you can't know whether it, or your fix, may impact other parts of the application. In a word 'dangerous'

I added code very similar to what we already had for similar filters. E.g. I added a check for existence of the variable before trying to access its properties. I see nothing dangerous here but rather a good practice. This fix eliminated problems for me.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform