Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Log reason for failure
Browse files Browse the repository at this point in the history
  • Loading branch information
sihil committed Nov 14, 2012
1 parent bdd6357 commit 5c46a55
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ trait PortFileHandling extends Loggable {
portFile = Some(file)
true
} catch {
case _ =>
logger.warn("Could not create management port file at " + file)
case t:Throwable =>
logger.warn("Could not create management port file at " + file, t)
false
}
}
Expand Down

0 comments on commit 5c46a55

Please sign in to comment.