try except for blockchain and juggernau added for conversion
This commit is contained in:
parent
edd4f61c16
commit
d06db439d9
|
@ -471,6 +471,8 @@ class Conversion:
|
||||||
# script_original.languages_juggernaut = str(script_translated.dial_dest_language)
|
# script_original.languages_juggernaut = str(script_translated.dial_dest_language)
|
||||||
self.original_script_object.save()
|
self.original_script_object.save()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
self.translated_script_object.error_desc = str(e)
|
||||||
|
self.translated_script_object.save()
|
||||||
print("Error in juggernaut updation is",e)
|
print("Error in juggernaut updation is",e)
|
||||||
"""Juggernaut Payment Updation Done"""
|
"""Juggernaut Payment Updation Done"""
|
||||||
|
|
||||||
|
@ -506,7 +508,9 @@ class Conversion:
|
||||||
|
|
||||||
print(response)
|
print(response)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("Error is", e)
|
self.translated_script_object.error_desc = "Error in s3 output upload is " + str(e)
|
||||||
|
self.translated_script_object.save()
|
||||||
|
print("Error in s3 output upload is", e)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -639,6 +643,8 @@ class Conversion:
|
||||||
}
|
}
|
||||||
sendmail(to_email=to_email, email_code=email_code,key_value=key_value, filePath=certificatepath)
|
sendmail(to_email=to_email, email_code=email_code,key_value=key_value, filePath=certificatepath)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
self.translated_script_object.error_desc = "Error in blockchain is " + str(e)
|
||||||
|
self.translated_script_object.save()
|
||||||
print("Error in blockchain is", e)
|
print("Error in blockchain is", e)
|
||||||
|
|
||||||
"""Blockchain Upload Ends here"""
|
"""Blockchain Upload Ends here"""
|
||||||
|
|
Loading…
Reference in New Issue