Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Do not crash the IDE when logging non-string objects. #1313

Merged
merged 8 commits into from
Mar 12, 2021

Conversation

MichaelMauderer
Copy link
Contributor

@MichaelMauderer MichaelMauderer commented Mar 10, 2021

Pull Request Description

Fixes a bug in the log handler that crashes the IDE when it encounters a non-string object.

Checklist

Please include the following checklist in your PR:

  • The CHANGELOG.md was updated with the changes introduced in this PR.
  • The documentation has been updated if necessary.
  • All code conforms to the Rust style guide.
  • All code has automatic tests where possible.
  • All code has been profiled where possible.
  • All code has been manually tested in the IDE.
  • All code has been manually tested in the "debug/interface" scene.
  • All code has been manually tested by the PR owner against our test scenarios.
  • All code has been manually tested by at least one reviewer against our test scenarios.

@MichaelMauderer MichaelMauderer added Good First Issue Little prior knowledge required Priority: Medium Should be a complement for some iteration Type: Bug A bug in Enso IDE Category: GUI The Graphical User Interface labels Mar 10, 2021
@MichaelMauderer MichaelMauderer self-assigned this Mar 10, 2021
@MichaelMauderer MichaelMauderer marked this pull request as ready for review March 10, 2021 09:39
src/js/lib/content/src/index.js Outdated Show resolved Hide resolved
@MichaelMauderer
Copy link
Contributor Author

@wdanilo Can you merge this? It does not require a changelog entry, but the CI won't let it pass.

@wdanilo
Copy link
Member

wdanilo commented Mar 11, 2021

@MichaelMauderer I would add a changelog entry for it! Like
"A logger issue was fixed which was causing IDE to crash in the past. Refer [here][...] to learn more details."

@MichaelMauderer MichaelMauderer merged commit ff5e927 into develop Mar 12, 2021
@MichaelMauderer MichaelMauderer deleted the wip/mm/fix-log-crashing branch March 12, 2021 19:37
mwu-tow pushed a commit to enso-org/enso that referenced this pull request Oct 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Category: GUI The Graphical User Interface Good First Issue Little prior knowledge required Priority: Medium Should be a complement for some iteration Type: Bug A bug in Enso IDE
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants