Title: Unwanted empty lines in output of errors with $ErrorView=ConciseView · Issue #11377 · PowerShell/PowerShell · GitHub
Open Graph Title: Unwanted empty lines in output of errors with $ErrorView=ConciseView · Issue #11377 · PowerShell/PowerShell
X Title: Unwanted empty lines in output of errors with $ErrorView=ConciseView · Issue #11377 · PowerShell/PowerShell
Description: Unwanted empty lines in output of errors with $ErrorView=ConciseView Steps to reproduce # make sure it's the new default ConciseView $ErrorView = 'ConciseView' try { throw 'Oops!' } catch { $_ } Expected behavior The error output has no ...
Open Graph Description: Unwanted empty lines in output of errors with $ErrorView=ConciseView Steps to reproduce # make sure it's the new default ConciseView $ErrorView = 'ConciseView' try { throw 'Oops!' } catch { $_ } Ex...
X Description: Unwanted empty lines in output of errors with $ErrorView=ConciseView Steps to reproduce # make sure it's the new default ConciseView $ErrorView = 'ConciseView' try { throw 'Oops!...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/11377
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unwanted empty lines in output of errors with $ErrorView=ConciseView","articleBody":"Unwanted empty lines in output of errors with $ErrorView=ConciseView\r\n\r\n# Steps to reproduce\r\n\r\n```powershell\r\n# make sure it's the new default ConciseView\r\n$ErrorView = 'ConciseView'\r\n\r\ntry {\r\n throw 'Oops!'\r\n}\r\ncatch {\r\n $_\r\n}\r\n```\r\n\r\n# Expected behavior\r\n\r\nThe error output has no unexpected and unwanted empty lines:\r\n\r\n```none\r\nException: C:\\tmp\\_191217_122216\\2.ps1\r\nLine |\r\n 5 | throw 'Oops!'\r\n | ^ Oops!\r\n```\r\n\r\n# Actual behavior\r\n\r\nThe error output has an unexpected and unwanted empty line:\r\n\r\n```none\r\nException: C:\\tmp\\_191217_122216\\2.ps1\r\nLine |\r\n 5 | throw 'Oops!'\r\n\r\n | ^ Oops!\r\n```\r\n\r\n# Environment data\r\n\r\n```none\r\nName Value\r\n---- -----\r\nPSVersion 7.0.0-rc.1\r\nPSEdition Core\r\nGitCommitId 7.0.0-rc.1\r\nOS Microsoft Windows 6.3.9600\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n","author":{"url":"https://github.com/nightroman","@type":"Person","name":"nightroman"},"datePublished":"2019-12-17T12:36:48Z","url":"https://github.com/PowerShell/PowerShell/issues/11377"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ccf83d2d-f6be-74eb-4f03-297475e97572 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CEF2:3BA9F1:1E8F06:292936:6AFD5060 |
| html-safe-nonce | ddfab7441f864d5f0721053ccac646720c115642a7ec77555508ae641fd1179a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUYyOjNCQTlGMToxRThGMDY6MjkyOTM2OjZBRkQ1MDYwIiwidmlzaXRvcl9pZCI6IjQxODk3MDg0ODEyNzc1NDY1OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 151cd6cc4357e3e52f56e151715e123408016166c1378ee803ba8adfd43e6dd7 |
| hovercard-subject-tag | issue:539040112 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/11377/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a94b095d1f812924683a1d3dc0a38b58d87656aaa14755c4e0f30b509886f730/PowerShell/PowerShell/issues/11377 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a94b095d1f812924683a1d3dc0a38b58d87656aaa14755c4e0f30b509886f730/PowerShell/PowerShell/issues/11377 |
| og:image:alt | Unwanted empty lines in output of errors with $ErrorView=ConciseView Steps to reproduce # make sure it's the new default ConciseView $ErrorView = 'ConciseView' try { throw 'Oops!' } catch { $_ } Ex... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nightroman |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width