fix: blhost wrapper return with Promise.reject if error code !== 0 (#669)
This commit is contained in:
committed by
László Monda
parent
7d81cf0c6a
commit
83b9f0d1e9
@@ -49,7 +49,7 @@ export class UhkBlhost {
|
||||
|
||||
self.logService.debug(`[blhost] FINISHED: ${code}`);
|
||||
|
||||
if (code !== null && code !== 0) {
|
||||
if (code !== 0) {
|
||||
return reject(new Error(`blhost error code:${code}`));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user