From 4a349dd95fdd58b15dee23464e82d37c81bbf63e Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Thu, 1 Aug 2024 09:05:58 -0400 Subject: [PATCH] Convert exception throw to warning. --- .../ipa/callgraph/PythonSSAPropagationCallGraphBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/ipa/callgraph/PythonSSAPropagationCallGraphBuilder.java b/com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/ipa/callgraph/PythonSSAPropagationCallGraphBuilder.java index 96ed805d..346972d9 100644 --- a/com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/ipa/callgraph/PythonSSAPropagationCallGraphBuilder.java +++ b/com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/ipa/callgraph/PythonSSAPropagationCallGraphBuilder.java @@ -462,7 +462,7 @@ private void processWildcardImports( Set nodes = callGraph.getNodes(importMethodReference); if (nodes.isEmpty()) - throw new IllegalStateException( + logger.warning( "Can't find CG node for import method: " + importMethodReference.getSignature() + ".");