Skip to content

Commit

Permalink
Change warning to info for auto-started acitvity
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnoe committed Mar 15, 2023
1 parent 46940e6 commit 21a1727
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ctapipe/core/provenance.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ def start_activity(self, activity_name=sys.executable):

def _get_current_or_start_activity(self):
if self.current_activity is None:
log.warning(
"No activity has been started yet."
" Provenance().start_activity(<name>) should be called explicitly."
log.info(
"No activity has been explicitly started, starting new default activity."
" Consider calling Provenance().start_activity(<name>) explicitly."
)
self.start_activity()

Expand Down

0 comments on commit 21a1727

Please sign in to comment.