fix error handling in get_note
Merge pull request #6 from romankubli/fixerrhndl

fix error handling in get_note