On a hosted nodejs wiki with credentials set, if a visitor who is not logged in clicks the new tiddler button on the Page toolbar the get a red screen popup on the initial click and the server sync icon goes red and stays red. Subsequent clicks on new tiddler button brings up the new tiddler in edit mode.
Is there a way to catch the error and display a user friendly message to log in to edit content?
Startup:
tiddlywiki wiki --listen port=PORT credentials=credentials.csv "readers=(anon)" "writers=(authenticated)" root-tiddler=$:/core/save/lazy-all