Renamed parameter h to handler.
Log the Throwable in DEBUG level.