Skip to content

Commit 2700854

Browse files
authored
Replace console.error with console.warn (#4089)
1 parent 9c72627 commit 2700854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/phoenix_live_view/view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ export default class View {
371371
}
372372

373373
if (liveview_version !== this.liveSocket.version()) {
374-
console.error(
374+
console.warn(
375375
`LiveView asset version mismatch. JavaScript version ${this.liveSocket.version()} vs. server ${liveview_version}. To avoid issues, please ensure that your assets use the same version as the server.`,
376376
);
377377
}

0 commit comments

Comments
 (0)