Remove try catch from provided functions, user handles errors
This commit is contained in:
@@ -8,7 +8,6 @@ export function map<T, R>(
|
||||
writableObjectMode: true,
|
||||
},
|
||||
): Transform {
|
||||
// remove try catch
|
||||
return new Transform({
|
||||
...options,
|
||||
async transform(chunk: T, encoding, callback) {
|
||||
|
||||
Reference in New Issue
Block a user