Don't log stacktrace if Settings bean is not defined