I see on a lot of projects stuff like this: function getStuff() { try { return $this->retrieveStuff() } catch (Exception $e) { return null; } } The issue, in this example, is not that we silence an error. It should be logged, but there could be a legitimate use for this. For instance, it requires [...]
Categories
- Meta (3)
- PHP (14)
- Python (1)
- Symfony (15)
- Sysadmin (5)
- Technology (1)
- Uncategorized (2)
- Webdesign (1)
- WordPress (1)