You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an issue where template processing fails silently in the UI when using unknown functions, with errors only being visible in the browser's developer console. This behavior can be misleading, as it does not provide immediate and clear feedback on what went wrong.
Steps to Reproduce:
Create a template that includes a call to an unknown function, e.g., {{dateAdd(today, 1, "days")}}.
Use the template within SilverBullet.
No error is shown in the SilverBullet UI or logs in docker, but an error appears in the browser's developer console.
Expected Behavior:
I would expect an error message to be shown in the SilverBullet UI or at least be logged in a more accessible manner, informing the user that the template processing failed due to the use of an unknown function.
Actual Behavior:
The template processing fails silently without any clear feedback in the UI. An error message is only visible in the browser's developer console: An exception was thrown as a result of invoking function insertSnippetTemplate error: Unknown function: dateAdd.
Additional Context:
This issue was discovered while trying to create a template for setting a due date as "due tomorrow" using an unrecognized function dateAdd. The lack of feedback made it difficult to identify the issue initially.
I encountered an issue where template processing fails silently in the UI when using unknown functions, with errors only being visible in the browser's developer console. This behavior can be misleading, as it does not provide immediate and clear feedback on what went wrong.
Steps to Reproduce:
{{dateAdd(today, 1, "days")}}
.Expected Behavior:
I would expect an error message to be shown in the SilverBullet UI or at least be logged in a more accessible manner, informing the user that the template processing failed due to the use of an unknown function.
Actual Behavior:
The template processing fails silently without any clear feedback in the UI. An error message is only visible in the browser's developer console:
An exception was thrown as a result of invoking function insertSnippetTemplate error: Unknown function: dateAdd
.Additional Context:
This issue was discovered while trying to create a template for setting a due date as "due tomorrow" using an unrecognized function
dateAdd
. The lack of feedback made it difficult to identify the issue initially.The text was updated successfully, but these errors were encountered: