fix: blhost wrapper return with Promise.reject if error code !== 0 (#669)

This commit is contained in:
Róbert Kiss
2018-06-07 23:38:27 +02:00
committed by László Monda
parent 7d81cf0c6a
commit 83b9f0d1e9

View File

@@ -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}`));
}