Skip to content

Commit dbaf852

Browse files
authored
feat: always log error during HMR applying status (#49)
1 parent 0579649 commit dbaf852

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client/refreshUtils.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,8 @@ function executeRuntime(
245245
* @returns {void}
246246
*/
247247
function hotErrorHandler(error) {
248+
console.error(error);
249+
248250
if (typeof refreshOverlay !== 'undefined' && refreshOverlay) {
249251
refreshOverlay.handleRuntimeError(error);
250252
}

0 commit comments

Comments
 (0)