Skip to content

Commit

Permalink
fix: correctly display error message when metadata migration fails (#551
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Tchoupinax authored Aug 29, 2024
1 parent bdccfff commit 1e6c29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,6 @@ export const applyMetadata = async (): Promise<void> => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const error = e as any;
const message = error.response?.data || error.message;
logger.warn('Impossible to apply metadata', message);
logger.warn(`Impossible to apply metadata: ${message}`);
}
};

0 comments on commit 1e6c29f

Please sign in to comment.