Closed camushoilingma closed 9 years ago
If a element is not found, we return null anyway. Therefore, there's no reason not to catch the NPE and return null. This eliminates some of the ugly 500 errors when the page loads.
If a element is not found, we return null anyway. Therefore, there's no reason not to catch the NPE and return null. This eliminates some of the ugly 500 errors when the page loads.