Details
-
Story
-
Resolution: Obsolete
-
High
-
None
-
5.3, 5.4.0-rc1
Description
We should try to standardize on "Sensible RunTimeExceptions" approach as already the case above the API a few places already where we basically:
- in dev: throw
- in prod: log error & do the sensible thing
Example: Edge case content after a upgrade that has not been tested during development, which gives end users exception when the system could simply just return safe data and log a error in production mode instead.
Affects:
- FieldTypeNotFoundException : Can log error and return NullFieldType in prod
- LimitationNotFoundException : Can log error and return BlockingLimitationType in prod