fix ErrorException in ExtraHandler log formatter