Skip to content

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

Open

Description

@jvolker

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.

Activity

  1. aubergene commented on Apr 17, 2020

    @aubergene

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions