mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-08-07 01:13:08 +02:00
Fix for custom placeholders that return errors
This commit is contained in:
@@ -441,6 +441,8 @@ export class ArticleHelper {
|
||||
} catch (e) {
|
||||
Notifications.error(`Error while processing the ${placeholder.id} placeholder`);
|
||||
Logger.error((e as Error).message);
|
||||
|
||||
value = "<Failed to process>";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user