Skip to content

Commit 5578e7e

Browse files
committed
build and log
1 parent fea32f2 commit 5578e7e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

build/jsroot.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80370,7 +80370,8 @@ async function treeProcess(tree, selector, args) {
8037080370

8037180371
if (!selector || !tree.$file || !selector.numBranches()) {
8037280372
if (selector) selector.Terminate(false);
80373-
return Promise.reject(Error('required parameter missing for TTree::Process'));
80373+
console.error('required parameter missing for TTree::Process');
80374+
return null;
8037480375
}
8037580376

8037680377
// central handle with all information required for reading
@@ -80958,7 +80959,8 @@ async function treeProcess(tree, selector, args) {
8095880959

8095980960
if (!item) {
8096080961
selector.Terminate(false);
80961-
return Promise.reject(Error(`Fail to add branch ${selector.nameOfBranch(nn)}`));
80962+
console.error(`Fail to add branch ${selector.nameOfBranch(nn)}`);
80963+
return null;
8096280964
}
8096380965
}
8096480966

@@ -80985,7 +80987,8 @@ async function treeProcess(tree, selector, args) {
8098580987

8098680988
if (handle.firstentry >= handle.lastentry) {
8098780989
selector.Terminate(false);
80988-
return Promise.reject(Error('No any common events for selected branches'));
80990+
console.error('No any common events for selected branches');
80991+
return null;
8098980992
}
8099080993

8099180994
handle.process_min = handle.firstentry;

changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Changes in 7.3.x
44
1. Fix - failure in normal_cdf calculation
55
2. Fix - check in TTree::Draw for null buffer
6+
3. Fix - do not rise exception in treeProcess
67

78

89
## Changes in 7.3.2

0 commit comments

Comments
 (0)