Skip to content

Commit

Permalink
Added info in the email to specify the backend hostname and the catalog
Browse files Browse the repository at this point in the history
number.
  • Loading branch information
serbanvoinea committed Oct 22, 2024
1 parent 590e00c commit 68696d2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ def __init__(self, **kwargs):
self.path.split('/')[-1],
self.credentials
)
self.hostname = socket.gethostname()
self.catalog.dcctx['cid'] = 'pipeline/pdb'
self.email = kwargs.get("email")
self.logger = kwargs.get("logger")
Expand Down Expand Up @@ -280,6 +281,7 @@ def sendMail(self, subject, text, receivers=None):
subject = 'DEV {}'.format(subject)
#self.sendLinuxMail(subject, text, receivers)
#return
text = f'Backend hostname: {self.hostname}, catalog: {self.catalog_number}\n\n{text}'
retry = 0
ready = False
if receivers == None:
Expand Down

0 comments on commit 68696d2

Please sign in to comment.