acdlite / acdlite/flummox

Actions.js grabs all console logs

未關閉
#264 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
outdated
主要語言
JavaScript
星號
1.7k
分支
109
PR 合併指標
30 天內沒有已合併 PR

描述

I am using react-dnd library which uses dnd-core library which uses the flummox library (phew). The problem I am facing is that under chrome browser all my logs/errors/warnings are shown to be logged from Actions.js. This is very frustrating because now I don't see the filename/line number where error is. Under Safari, same issue happens but with Flux.js. It works fine with Firefox.

Please let me know if there is a workaround for this problem. Please see the attached image:

screen shot 2015-07-17 at 1 23 16 pm

Thanks,
chetan.

貢獻指南

開啟貢獻指南

研究方向

這個 issue 是關於 Chrome 和 Safari 中的主控台記錄被歸因於 Actions.js 或 Flux.js,而不是實際的原始檔案。先檢查 flummox 原始碼中的 Actions.js 和 Flux.js 檔案,以了解它們可能如何攔截主控台方法。尋找是否對 console.log、error 或 warn 進行了 monkey-patching 或 wrapping。檢查相依套件 (react-dnd、dnd-core),確認它們是否促成了這個行為。在最小化的測試環境中重現問題,以確認問題的來源。「Done」表示找出造成錯誤歸因的確切程式碼,並提出修正方案或 workaround。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
developer-experience, frontend
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。