Skip to content

Commit

Permalink
Adding missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
vrdmr authored Jun 23, 2022
1 parent cc33fbe commit cc1588f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion azure_functions_worker/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import logging
import logging.handlers
import sys
import traceback
from typing import Optional

# Logging Prefixes
Expand All @@ -22,7 +23,8 @@

def format_exception(exception):
msg = str(exception) + "\n"
msg += ''.join(traceback.format_exception(etype=type(exception), value=exception, tb=exception.__traceback__))
msg += ''.join(traceback.format_exception(
etype=type(exception), value=exception, tb=exception.__traceback__))
return msg


Expand Down

0 comments on commit cc1588f

Please sign in to comment.