Bug 2028885 - Console should show an error context if it logs an error object
Summary: Console should show an error context if it logs an error object
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.10.0
Assignee: Christoph Jerolimov
QA Contact: spathak@redhat.com
Depends On:
TreeView+ depends on / blocked
Reported: 2021-12-03 16:45 UTC by Christoph Jerolimov
Modified: 2022-03-10 16:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Last Closed: 2022-03-10 16:31:36 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift console pull 10494 0 None open Bug 2028885: Log console errors with a message 2021-12-03 16:45:43 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:31:53 UTC

Description Christoph Jerolimov 2021-12-03 16:45:01 UTC
Description of problem:
As an developer of OCP/ODC, and also as user which opens the browser console I see sometimes errors which are logged without any context. Errors should show at least a short info why/where they happen.

Version-Release number of selected component (if applicable):

How reproducible:
Only when an error occours

Steps to Reproduce:
1. Open developer console
2. Open browser console
3. Produce an error

Actual results:
Not all errors logs a context

Expected results:
Errors should log a message to identify which code area logs an error

Additional info:

Comment 2 Christoph Jerolimov 2021-12-20 11:19:19 UTC
This change only adds new logging information to the browser console when an error appears.

Checked the browser console log on 4.10.0-0.nightly-2021-12-16-185411 and it looks fine.

Comment 6 errata-xmlrpc 2022-03-10 16:31:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.