Started writing parsing tests
This commit is contained in:
parent
2232340f6f
commit
7c0af44f46
6 changed files with 180 additions and 2 deletions
|
|
@ -132,7 +132,7 @@ function promiseParseDocument (source) {
|
|||
|
||||
xml.on('error', err => {
|
||||
xml.pause()
|
||||
const message = `Error while parsing OFAC data source file (${source}): ${err.message()}`
|
||||
const message = `Error while parsing OFAC data source file (${source}): ${err.message}`
|
||||
reject(new Error(message))
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue