Skip to content

Commit 5f23def

Browse files
committed
added filename to json error logging
1 parent b9ce30a commit 5f23def

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ async function translateXml(filepath, filename, option) {
192192
stream.end();
193193
});
194194
} } catch (error) {
195-
errors.push(filepath + " " + error);
195+
errors.push(path.join(filepath, filename) + " " + error);
196196
}
197197
return;
198198
}

0 commit comments

Comments
 (0)