midi: show failed stdout parsing when debug is true
This commit is contained in:
parent
d72765b89e
commit
a5b2322e43
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ class MidiConverter {
|
|||
try {
|
||||
[name, data] = JSON.parse(message)
|
||||
} catch (err) {
|
||||
// console.log(err)
|
||||
if (settings.read('debug')) console.error(`(DEBUG, MIDI) Could not parse python's output:\n ${message}`)
|
||||
}
|
||||
if (name == 'log') {
|
||||
if (data.indexOf('ERROR') > -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue