Skip to content

Commit

Permalink
handle password error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Feb 22, 2015
1 parent bc820f7 commit 551cf7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions command/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ def parse_nslog_message(message)
elsif m = msg.match(/^"Error Domain=[^"]+"(.+)\\" UserInfo=.+/)
# error
messages << m[1]
elsif m = msg.match(/(Error:.+)/)
# other errors (password error...)
messages << m[1]
end
end
messages
Expand Down

0 comments on commit 551cf7b

Please sign in to comment.