parent Lua script calls error, not child where error lies

Home Forums General Programming parent Lua script calls error, not child where error lies

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #757
    msepsis
    Participant
    • Topics: 219
    • Replies: 732
    • Total: 951
    • ★★★

    I have a "midiReceived" script.
    From within this script, I get the 4th byte of the incoming message to find out the message ID.
    Then, depending on the message ID, I send one of three Lua scripts, not contained within the same midiReceived script.

    One of these three scripts called from within "midiReceived" has an error, or two or zillions… i know, i’m deving it. fine. The script that actually has the errors in it is called "receiveWCT"

    But when I open the panel, I get a lua error not on the "receiveWCT" script, but on the "midiReceived" script that calls it, with no indication that the error actually lies in an alltogether different script.

    Again not a big major deal but something to be aware of, and hopefully maybe one day make the error message more specific if possible.

    At least if we know about it, that helps interpret the error to help ppl better track it down.

    Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen

Viewing 1 post (of 1 total)
  • The forum ‘Programming’ is closed to new topics and replies.
There is currently 0 users and 56 guests online
No users are currently active
Forum Statistics
Threads: 2,495, Posts: 17,374, Members: 77,605
Most users ever online was 12 on January 22, 2019 3:47 pm
Ctrlr