Skip to content

Commit 31a0978

Browse files
author
Oron Port
committed
more flexible exception for tool execution problems
1 parent af1aebc commit 31a0978

File tree

1 file changed

+1
-1
lines changed
  • lib/src/main/scala/dfhdl/tools/toolsCore

1 file changed

+1
-1
lines changed

lib/src/main/scala/dfhdl/tools/toolsCore/Tool.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ trait Tool:
3434
val getVersionFullCmd =
3535
Process(s"$runExec $versionCmd", new java.io.File(System.getProperty("java.io.tmpdir")))
3636
try extractVersion(getVersionFullCmd.!!)
37-
catch case e: IOException => None
37+
catch case e: Exception => None
3838
final def isAvailable: Boolean = installedVersion.nonEmpty
3939
protected def getInstalledVersion(using to: ToolOptions): String =
4040
preCheck()

0 commit comments

Comments
 (0)