Permalink
Browse files

don't exit on access denied, just log the error

  • Loading branch information...
1 parent 06d8d14 commit 7a606c697af257c368340b50baee6bc14cf19989 @atmos atmos committed Dec 7, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/adapters/campfire.coffee
@@ -152,8 +152,7 @@ class CampfireStreaming extends EventEmitter
else if chunk.match(/^\s*Access Denied/)
# errors are not json formatted
- logger.error "Campfire error: #{chunk}"
- process.exit(1)
+ logger.error "Campfire error on room #{id}: #{chunk}"
else
# api uses newline terminated json payloads

0 comments on commit 7a606c6

Please sign in to comment.