Skip to content

Commit

Permalink
PhpComposer: Avoid catching a too generic exception
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Schuberth <sebastian.schuberth@here.com>
  • Loading branch information
sschuberth committed Mar 26, 2019
1 parent bc789a8 commit d6c2b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzer/src/main/kotlin/managers/PhpComposer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class PhpComposer(name: String, analyzerConfig: AnalyzerConfiguration, repoConfi
virtualPackages
)
packageReferences += packageInfo.toReference(dependencies = transitiveDependencies)
} catch (e: Exception) {
} catch (e: IOException) {
e.showStackTrace()

log.error { "Could not resolve dependencies of '$packageName': ${e.collectMessagesAsString()}" }
Expand Down

0 comments on commit d6c2b5d

Please sign in to comment.