mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-23 18:04:34 +00:00
Merge commit 'refs/pull/524/head' of github.com:camptocamp/odoo-cloud-platform into merge-branch-3406-azure_attachment-traceback-7837ddce
This commit is contained in:
@@ -177,8 +177,12 @@ class IrAttachment(models.Model):
|
||||
try:
|
||||
blob_client.upload_blob(file, blob_type="BlockBlob")
|
||||
except ResourceExistsError:
|
||||
_logger.exception(
|
||||
"Trying to re create an existing resource %s" % filename
|
||||
(
|
||||
_logger.exception(
|
||||
"Trying to re create an existing resource %s",
|
||||
filename,
|
||||
stack_info=True,
|
||||
),
|
||||
)
|
||||
except HttpResponseError as error:
|
||||
# log verbose error from azure, return short message for user
|
||||
|
||||
Reference in New Issue
Block a user