Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement: Show original source file and line number on errors #61

Open
jvolker opened this issue Sep 30, 2019 · 1 comment
Open

Improvement: Show original source file and line number on errors #61

jvolker opened this issue Sep 30, 2019 · 1 comment

Comments

@jvolker
Copy link
Collaborator

jvolker commented Sep 30, 2019

Follow up from #56. Sometimes during development you get errors like the following:

(node:6870) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): undefined
(node:7167) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): SyntaxError: Unexpected token var

It's hard to understand where they come from as they don't mention the original source file and line number. Is there any way to display the original source file and line number?

Thanks.

@aubergene
Copy link

I followed the install instructions and got a similar error

setterm: terminal xterm-256color does not support --blank
setterm: cannot (un)set powersave mode: Inappropriate ioctl for device
pi@raspberrypi:~ $ openframe


(node:4517) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property 'download' of undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants