Skip to content

Commit

Permalink
add basic error processing
Browse files Browse the repository at this point in the history
  • Loading branch information
void-main committed Apr 20, 2013
1 parent 4840798 commit aac6c18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

drinkup_name = params['place'] + "-" + params['date']
summary = []
sheets = Github.get_sheets(drinkup_name)
return "{}" unless sheets
Github.get_sheets(drinkup_name).each do |sheet|
summary << Attendee.collect(drinkup_name, sheet)
end
Expand Down

0 comments on commit aac6c18

Please sign in to comment.