chore: rename undefined variable in shopify_log
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
This commit is contained in:
parent
4f7885f1aa
commit
702f9f929b
@ -39,7 +39,7 @@ def get_message(exception):
|
|||||||
if hasattr(exception, 'message'):
|
if hasattr(exception, 'message'):
|
||||||
message = exception.message
|
message = exception.message
|
||||||
elif hasattr(exception, '__str__'):
|
elif hasattr(exception, '__str__'):
|
||||||
message = e.__str__()
|
message = exception.__str__()
|
||||||
else:
|
else:
|
||||||
message = "Something went wrong while syncing"
|
message = "Something went wrong while syncing"
|
||||||
return message
|
return message
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user