This should filter out the "fake" errors that neuron prints that are actually debug/info logs. I also re-enabled the error logging in the one place it had been disabled. I tried to think of a more generic way to filter them (maybe check for color?) but a map of fake errors was the best I could come up with.
Fixes #44 which was related to this. I think the error logging had been disabled in new_edit but not in new_and_callback. So, if you tried to make a new zettel by using the find_zettels command, you would see errors even though everything worked properly.
This should filter out the "fake" errors that neuron prints that are actually debug/info logs. I also re-enabled the error logging in the one place it had been disabled. I tried to think of a more generic way to filter them (maybe check for color?) but a map of fake errors was the best I could come up with.
Fixes #44 which was related to this. I think the error logging had been disabled in
new_edit
but not innew_and_callback
. So, if you tried to make a new zettel by using thefind_zettels
command, you would see errors even though everything worked properly.