-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Undefined segments cause the application to stop currently.
Line 105 in 2bc254f
throw e |
e.g.
else {
/**
* TODO Remove this and add a default segment parser
* This is mainly in place so we can see what default
* segments we are missing
*/
var e = new Error('Invalid segment type: '+s)
e.code = 'EINVSEGTYPE'
e.raw = data
if process.env.IGNORE_HL7_MISSING_SEGMENTS == true
console.error e
else
throw e
}
Metadata
Metadata
Assignees
Labels
No labels