如何更换" webpack-internal"在错误堆栈输出?

时间:2017-12-28 07:33:35

标签: javascript logging webpack vue.js

我试图找出如何正确执行错误记录。我正在使用Vue框架(webpack starter)。

当我program mat_slice implicit none integer, parameter:: n = 3 integer, dimension(n,n) :: mat integer, dimension(n-1,n-1) :: slice logical, dimension(n,n) :: mask integer :: i,j mat = reshape((/1,2,3,4,5,6,7,8,9/),(/n,n/)) print*, mat mask = .true. mask(i,:) = .false. mask(:,j) = .false. slice = reshape((pack(mat,mask)),(/n-1,n-1/)) do i = 1,n-1 do j = 1,n-1 print*, slice(i,j) end do end do 时,我进入浏览器开发控制台:

console.log(error.stack)

当我Error: offline at Socket.eval (socket.service.js?19d1:20) at Socket.onack (socket.js?0183:311) ... sendErrorStackToServer(error.stack)时,我得到:

someDiv.innerText = error.stack

如何将 webpack-internal 替换为更具描述性的内容(如第一种情况)?

0 个答案:

没有答案