Logging warning if the global exception handler is set.