File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ const formatErrorLocation = async (
116116 * Formats error messages received from the browser into a log string with
117117 * source location information.
118118 */
119- export const formatClientErrorLog = async (
119+ export const formatBrowserErrorLog = async (
120120 message : ClientMessageError ,
121121 context : InternalContext ,
122122 fs : Rspack . OutputFileSystem ,
Original file line number Diff line number Diff line change 99import { formatStatsMessages } from '../helpers/format' ;
1010import { logger } from '../logger' ;
1111import type { DevConfig , InternalContext , Rspack } from '../types' ;
12- import { formatClientErrorLog } from './browserLogs' ;
12+ import { formatBrowserErrorLog } from './browserLogs' ;
1313import { genOverlayHTML } from './overlay' ;
1414
1515interface ExtWebSocket extends Ws {
@@ -282,7 +282,7 @@ export class SocketServer {
282282 // Do not report browser error when build failed
283283 ! this . context . buildState . hasErrors
284284 ) {
285- const log = await formatClientErrorLog (
285+ const log = await formatBrowserErrorLog (
286286 message ,
287287 this . context ,
288288 this . getOutputFileSystem ( ) ,
You can’t perform that action at this time.
0 commit comments