You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iota.apache.org by to...@apache.org on 2016/11/29 23:29:28 UTC
[29/31] incubator-iota git commit: Resolved the error for MonitorSpec
Resolved the error for MonitorSpec
Project: http://git-wip-us.apache.org/repos/asf/incubator-iota/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-iota/commit/436c504f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-iota/tree/436c504f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-iota/diff/436c504f
Branch: refs/heads/master
Commit: 436c504f32435f4ebccfc99515460d7c617d6105
Parents: 7911821
Author: Shivansh <sh...@gmail.com>
Authored: Tue Nov 22 15:26:31 2016 +0530
Committer: Shivansh <sh...@gmail.com>
Committed: Tue Nov 22 15:26:31 2016 +0530
----------------------------------------------------------------------
fey-core/src/main/scala/org/apache/iota/fey/Monitor.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-iota/blob/436c504f/fey-core/src/main/scala/org/apache/iota/fey/Monitor.scala
----------------------------------------------------------------------
diff --git a/fey-core/src/main/scala/org/apache/iota/fey/Monitor.scala b/fey-core/src/main/scala/org/apache/iota/fey/Monitor.scala
index 98fa3e8..340958f 100644
--- a/fey-core/src/main/scala/org/apache/iota/fey/Monitor.scala
+++ b/fey-core/src/main/scala/org/apache/iota/fey/Monitor.scala
@@ -87,7 +87,7 @@ protected class Monitor(eventsStore: Trie) extends Actor with ActorLogging {
case _ =>
}
- def logInfo(path: String, event: String, timestamp: Long, info: String, reason: Option[Throwable] = null): Unit = {
+ def logInfo(path: String, event: String, timestamp: Long, info: String, reason: Option[Throwable] = None): Unit = {
if (reason.isDefined) {
log.error(reason.get, s"$event | $timestamp | $path | $info")
}else{