Skip to content

Commit

Permalink
Merge pull request #320 from CybercentreCanada/hotfix/exception_typo
Browse files Browse the repository at this point in the history
hotfix exception typo
  • Loading branch information
cccs-rs authored Aug 5, 2021
2 parents 136fbc3 + a1a7120 commit 486845f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assemblyline/common/backupmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def backup(self, bucket_list, follow_keys=False, query=None):
except Exception as e:
self.cleanup()
if self.logger:
self.logger.execption(e)
self.logger.exception(e)
self.logger.error("Error occurred while processing bucket %s." % bucket_name)
self.bucket_error.append(bucket_name)

Expand All @@ -261,7 +261,7 @@ def backup(self, bucket_list, follow_keys=False, query=None):
dt.join()
except Exception as e:
if self.logger:
self.logger.execption(e)
self.logger.exception(e)

def restore(self):
try:
Expand Down Expand Up @@ -292,7 +292,7 @@ def restore(self):
dt.join()
except Exception as e:
if self.logger:
self.logger.execption(e)
self.logger.exception(e)


def _string_getter(data):
Expand Down

0 comments on commit 486845f

Please sign in to comment.