Skip to content

Commit

Permalink
Minor updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdas committed Nov 13, 2014
1 parent d9a452c commit 14630aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ class ReliableKafkaReceiver[

ZkUtils.updatePersistentPath(zkClient, zkPath, offset.toString)
} catch {
case t: Throwable => logWarning(s"Exception during commit offset $offset for topic" +
case e: Exception => logWarning(s"Exception during commit offset $offset for topic" +
s"${topicAndPart.topic}, partition ${topicAndPart.partition}", t)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ private[streaming] class BlockGenerator(
} catch {
case ie: InterruptedException =>
logInfo("Block updating timer thread was interrupted")
case t: Throwable =>
reportError("Error in block updating thread", t)
case e: Exception =>
reportError("Error in block updating thread", e)
}
}

Expand All @@ -168,7 +168,7 @@ private[streaming] class BlockGenerator(
case ie: InterruptedException =>
logInfo("Block pushing thread was interrupted")
case e: Exception =>
reportError("Error in block updating thread", e)
reportError("Error in block pushing thread", e)
}
}

Expand Down

0 comments on commit 14630aa

Please sign in to comment.