Title: when logging Error, also log stack · Issue #38 · NativeScript/napi-android · GitHub
Open Graph Title: when logging Error, also log stack · Issue #38 · NativeScript/napi-android
X Title: when logging Error, also log stack · Issue #38 · NativeScript/napi-android
Description: In the current time, when you do console.log(new Error('tetest')) it only logs the error message in the console. It would be much better if it behaved like node where it would also log the error stack. RIght now in all my app i always to...
Open Graph Description: In the current time, when you do console.log(new Error('tetest')) it only logs the error message in the console. It would be much better if it behaved like node where it would also log the error st...
X Description: In the current time, when you do console.log(new Error('tetest')) it only logs the error message in the console. It would be much better if it behaved like node where it would also log the ...
Opengraph URL: https://github.com/NativeScript/napi-android/issues/38
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"when logging Error, also log stack","articleBody":"In the current time, when you do `console.log(new Error('tetest'))` it only logs the error message in the console.\nIt would be much better if it behaved like node where it would also log the error stack. RIght now in all my app i always to add a second console argument with the error.stack","author":{"url":"https://github.com/farfromrefug","@type":"Person","name":"farfromrefug"},"datePublished":"2025-12-08T13:31:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/38/napi-android/issues/38"}
| 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:d37ab672-7b3e-d872-d395-f3feebda4b11 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B45C:3FC625:61CEE:8BE85:6A636EB7 |
| html-safe-nonce | 7952174752cee5dfccc396e571661c7bb9c0074edf46eb23d5492a8c6b0d8eee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDVDOjNGQzYyNTo2MUNFRTo4QkU4NTo2QTYzNkVCNyIsInZpc2l0b3JfaWQiOiI4OTgwNjI3NjQyNDg1MjcyMjQ3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f8d715e18a0bbb8efd1ef13c9c5b43253764831bb721270fc2bbd2f16fd1f2d9 |
| hovercard-subject-tag | issue:3706420002 |
| 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/NativeScript/napi-android/38/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1dbc4b9324d6eb0dad12565ff90a342ed538fc6cc16aa83fa7c86f1aec36271f/NativeScript/napi-android/issues/38 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1dbc4b9324d6eb0dad12565ff90a342ed538fc6cc16aa83fa7c86f1aec36271f/NativeScript/napi-android/issues/38 |
| og:image:alt | In the current time, when you do console.log(new Error('tetest')) it only logs the error message in the console. It would be much better if it behaved like node where it would also log the error st... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | farfromrefug |
| hostname | github.com |
| expected-hostname | github.com |
| None | e7b5617850fbcd6d10fe2b7c56398444bccb5f3a58a4a18c6d363971295bcd03 |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/napi-android git https://github.com/NativeScript/napi-android.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 860341941 |
| octolytics-dimension-repository_nwo | NativeScript/napi-android |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 860341941 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/napi-android |
| 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 | aa341b3f432dc63fa9633042725aec601722a352 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width