- Throw an esception in debug build - Add a log line to help debugging - Move it to the companion object for safety
mentioned in commit 9dcc353d