Skip to content

Commit eeb0a39

Browse files
committed
Add STDOUT
1 parent 61d8649 commit eeb0a39

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

docs/API_error.md

Whitespace-only changes.

lib/ever2boost/enex_converter.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ def convert(enex, output_dir, filename)
1212
Note.new(title: title, content: "<div>#{REXML::Document.new(note).elements['note/content/text()'].value.sub(/.+\n/, '').sub(/.+\n/, '')}</div>")
1313
}
1414
notebook_list = [NoteList.new(title: filename)]
15+
puts 'converting...'
1516
JsonGenerator.output(notebook_list, output_dir)
1617
notes.each do |note|
1718
CsonGenerator.output(notebook_list.first.hash, note, output_dir)
1819
end
20+
puts 'Success!'
1921
end
2022
end
2123
end

lib/ever2boost/evernote_authorizer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def abort_with_message(exception)
8383
if exception.class == Evernote::EDAM::Error::EDAMUserException
8484
abort "\e[31mError! Confirm your developer token\e[0m"
8585
elsif exception.class == Evernote::EDAM::Error::EDAMSystemException
86-
abort "\e[31mError! You reached EvernoteAPI rate limitation\e[0m"
86+
abort "\e[31mError! You reached EvernoteAPI rate limitation\nmore information: https://github.com/BoostIO/ever2boost/tree/master/docs/Api_error.md\e[0m"
8787
else
8888
raise exception
8989
end

0 commit comments

Comments
 (0)