Skip to content

Commit 09ec404

Browse files
author
Minggang Wang
committed
Continue to search when error happens
Fix #476
1 parent 2483f93 commit 09ec404

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rosidl_gen/packages.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
'use strict';
1616

17+
const debug = require('debug')('rosidl_gen:packages');
1718
const fs = require('fs');
1819
const path = require('path');
1920
const walk = require('walk');
@@ -99,7 +100,8 @@ function findPackagesInDirectory(dir) {
99100
});
100101

101102
walker.on('errors', (root, stats, next) => {
102-
reject(stats);
103+
debug(stats);
104+
next();
103105
});
104106
});
105107
});

0 commit comments

Comments
 (0)