We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dd690c commit 3a158cdCopy full SHA for 3a158cd
python/lsst/summit/utils/efdUtils.py
@@ -286,10 +286,11 @@ def getEfdData(
286
)
287
if ret.empty and warn:
288
log = logging.getLogger(__name__)
289
- log.warning(
290
- f"Topic {topic} is in the schema, but no data was returned by the query for the specified"
291
- " time range"
292
- )
+ msg = ""
+ if raiseIfTopicNotInSchema:
+ f"Topic {topic} is in the schema, but "
+ msg += "no data was returned by the query for the specified time range"
293
+ log.warning(msg)
294
return ret
295
296
0 commit comments