fiatjaf / neuron.vim

📝 Manage your Zettelkasten in {n}vim.
MIT License
83 stars 21 forks source link

Handle exception error when insert invalid link? #20

Closed bangedorrunt closed 4 years ago

bangedorrunt commented 4 years ago

Hi,

It took me a while to realize where this error came from

Screen Shot 2020-09-29 at 3 52 32 pm

I happened to have an [[invalid link]] inside a very old note which make Neuron raise an exception. Could you please handle this case for better meaningful error such as "Invalid link has been found at {Zetter Title}" rather than above encrypted exception error?

fiatjaf commented 4 years ago

Does this happen when you go to [[invalid link]] and press gzo?

bangedorrunt commented 4 years ago

Does this happen when you go to [[invalid link]] and press gzo?

Yes, and also when I do gzr to force Neuron refresh cache.

fenetikm commented 4 years ago

I'll have a look at this.

fenetikm commented 4 years ago

I believe this should now be fixed in https://github.com/fiatjaf/neuron.vim/pull/33