Skip to content

Commit

Permalink
More messaging in the error handling of stakeholders-converter
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofVDB1 committed Nov 20, 2024
1 parent 9e2ce28 commit 6ad6b1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ export class StakeholdersConversionService implements IService {
editors: Stakeholder[];
}> {
const parser = parse({ delimiter: ';', columns: true });
parser.on('error', (error: unknown) => {
parser.on('error', (error: any) => {
this.logger.error(
`[CsvConverterHandler] Unable to convert the provided csv into a stakeholders-file. ${error}`,
`[CsvConverterHandler] Unable to convert the provided csv into a stakeholders-file. ${error} for record ${error?.record}`,
);
});
const transformer = new ToJsonTransformer(this.configuration.outputFormat);
Expand Down
2 changes: 1 addition & 1 deletion packages/oslo-converter-stakeholders/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oslo-flanders/stakeholders-converter",
"version": "0.0.18-alpha.0",
"version": "0.0.19-alpha.0",
"description": "Converts an OSLO stakeholders csv file to a different format",
"author": "Digitaal Vlaanderen <https://data.vlaanderen.be/id/organisatie/OVO002949>",
"homepage": "https://github.com/informatievlaanderen/OSLO-UML-Transformer/tree/main/packages/oslo-converter-stakeholders-oslo#readme",
Expand Down

0 comments on commit 6ad6b1a

Please sign in to comment.