javascript - google chrome js console show thin red line, no printed error text - Stack Overflow
I'm getting some errors in javascript, but for some reason google chrome wont print the error but shows only a thin red line. Also strange that when the thin red line is displayed the console window scrolls up, but not to the very top of history.
Has anyone seen this before and is there something I can do to get the actual text of errors displayed?
UPDATE: looks that these messages are occurring as result of exceptions in promises. When I debug and step through console.error(ex.message)
code it still prints it as a thin red line. Maybe something to do with a permission to use console from a promise thread?
running Google Chrome Version 65.0.3325.181 (Official Build) (64-bit) on Ubuntu Linux.
I'm getting some errors in javascript, but for some reason google chrome wont print the error but shows only a thin red line. Also strange that when the thin red line is displayed the console window scrolls up, but not to the very top of history.
Has anyone seen this before and is there something I can do to get the actual text of errors displayed?
UPDATE: looks that these messages are occurring as result of exceptions in promises. When I debug and step through console.error(ex.message)
code it still prints it as a thin red line. Maybe something to do with a permission to use console from a promise thread?
running Google Chrome Version 65.0.3325.181 (Official Build) (64-bit) on Ubuntu Linux.
Share Improve this question edited Mar 28, 2018 at 21:38 Mobigital asked Mar 28, 2018 at 18:41 MobigitalMobigital 7597 silver badges15 bronze badges 1- I'm seeing this as well, but my case doesn't appear to be related to promises. – Chris Patty Commented Apr 20, 2018 at 5:13
3 Answers
Reset to default 1I was having the same problem with the red line. Ran the site in Firefox and was able to see the error. In my case there were multiple errors happening in a forEach loop. Looks like Chrome is trying to protect from blowing up the console from errors within a loop?
Firefox just displayed one error. It seems they've found a more elegant way to report to the console.
I got this problem too, fixed it by switching to Chrome Canary
And here I thought Chrome Canary was the unstable build. ;-)
Quick fix; close and re-open your dev tools. That did it for me.
- 能跑安卓的锐龙3000C原来是它!热设计功耗低至4.5W
- Rambus联手微软:研究量子计算内存
- 看看CES 2014上奇葩的PC产品 安卓台式机亮相
- for loop - CSS masonry grid with dynamic rows width - Stack Overflow
- javascript - Eris read embeds - Stack Overflow
- linux - Unable to access devttyS0 as a regular user, despite having the right permissions - Stack Overflow
- batch file - Command segment in .omp.json Oh-my-posh theme - Stack Overflow
- reactjs - Does React reconciliation have an internal timer? - Stack Overflow
- Flutter : Privacy screen implementation - Stack Overflow
- haskell - How to perform beta reduction on a lambda abstraction? - Stack Overflow
- docker - Unable to Set Up Keycloak with Production Mode - Stack Overflow
- magento - Renovate: Get version compatibility for "external" dependencies from documentation for Docker file -
- regex - Change text block with nearest search pattern - Stack Overflow
- sql - How to add constraint if not exists - Stack Overflow
- visual studio code - VSCode support fully integrated IPython terminal - Stack Overflow
- google cloud platform - Querying public google_ads_transparency_center BQ table doesn't show all the needed data - Stack
- keyboard - Issue with java.awt.Robot KeyEvent for Special Characters (e.g., : and ) - Stack Overflow