Commit 650bae59 authored by Vincent Pelletier's avatar Vincent Pelletier

Notify user on activity definitive failure.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18927 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 82bcd0a8
......@@ -334,6 +334,7 @@ class SQLDict(RAMDict, SQLBase):
issubclass(m.exc_type, ConflictError):
delay_uid_list.append(uid)
elif priority > MAX_PRIORITY:
m.notifyUser(activity_tool)
final_error_uid_list.append(uid)
else:
try:
......
......@@ -201,6 +201,7 @@ class SQLQueue(RAMQueue, SQLBase):
issubclass(m.exc_type, ConflictError):
delay_uid_list.append(uid)
elif priority > MAX_PRIORITY:
m.notifyUser(activity_tool)
final_error_uid_list.append(uid)
else:
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment