mirror of
https://github.com/pretix/pretix.git
synced 2026-05-15 16:54:00 +00:00
Separate exception types
This commit is contained in:
@@ -443,7 +443,9 @@ class OrderDataSyncLogEntryType(OrderLogEntryType):
|
||||
|
||||
|
||||
@log_entry_types.new_from_dict({
|
||||
"pretix.event.order.data_sync.failed": _("Error while transferring data to {provider}:"),
|
||||
"pretix.event.order.data_sync.failed.config": _("Transferring data to {provider} failed due to invalid configuration:"),
|
||||
"pretix.event.order.data_sync.failed.exceeded": _("Maximum number of retries exceeded while transferring data to {provider}:"),
|
||||
"pretix.event.order.data_sync.failed.permanent": _("Error while transferring data to {provider}:"),
|
||||
})
|
||||
class OrderDataSyncErrorLogEntryType(OrderLogEntryType):
|
||||
def display(self, logentry, data):
|
||||
|
||||
Reference in New Issue
Block a user