Suppress exceptions for deprecation notices, and simply output them to console instead (so they are not hidden)