This can cause long file names (URLs) to be truncated which in turn will break named hooks code (since it needs to load those file names).
}
    const message = format(...args);
    if (__DEBUG__) {
      debug('onErrorOrWarning', fiber, null, `${type}: "${message}"`);
    }
    
    fibersWithChangedErrorOrWarningCounts.add(fiber);
    
    const fiberMap =
      type === 'error' ? pendingFiberToErrorsMap : pendingFiberToWarningsMap;
    const messageMap = fiberMap.get(fiber);
    if (messageMap != null) {
      const count = messageMap.get(message) || 0;
      messageMap.set(message, count + 1);
    } else {
      fiberMap.set(fiber, new Map([[message, 1]]));
    }
    
    
    
    
    
    
    flushPendingErrorsAndWarningsAfterDelay();
  }