moved unknown method exception in Note api to only be called when debugging