lib/helpers/evernote.rb in evertils-0.1.7 vs lib/helpers/evernote.rb in evertils-0.1.8

- old
+ new

@@ -203,10 +203,10 @@ end rescue ::Evernote::EDAM::Error::EDAMUserException => edue ## Something was wrong with the note data ## See EDAMErrorCode enumeration for error code explanation ## http://dev.evernote.com/documentation/reference/Errors.html#Enum_EDAMErrorCode - Notify.error "EDAMUserException: #{edue}" + Notify.error "EDAMUserException: #{edue}\nCode #{edue.errorCode}: #{edue.parameter}" rescue ::Evernote::EDAM::Error::EDAMNotFoundException => ednfe ## Parent Notebook GUID doesn't correspond to an actual notebook Notify.error "EDAMNotFoundException: Invalid parent notebook GUID" end \ No newline at end of file