Fixed error messages for internal commands (fix #46)
This commit is contained in:
parent
bcbfdb15d9
commit
4cbb822d39
2 changed files with 7 additions and 3 deletions
|
|
@ -258,7 +258,7 @@ export class MI2 extends EventEmitter implements IBackend {
|
|||
handled = true;
|
||||
}
|
||||
}
|
||||
if (parsed.resultRecords && parsed.resultRecords.resultClass == "error") {
|
||||
if (!handled && parsed.resultRecords && parsed.resultRecords.resultClass == "error") {
|
||||
this.log("stderr", parsed.result("msg") || line);
|
||||
}
|
||||
if (parsed.outOfBandRecord) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue