mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-21 00:11:39 +02:00
cleanup
This commit is contained in:
@@ -1189,7 +1189,7 @@ class BulkComponentCreateView(GetReturnURLMixin, BaseMultiObjectView):
|
|||||||
except IntegrityError:
|
except IntegrityError:
|
||||||
clear_events.send(sender=self)
|
clear_events.send(sender=self)
|
||||||
if is_background_request(request):
|
if is_background_request(request):
|
||||||
request.job.logger.error("An integrity error occurred while creating components")
|
request.job.logger.error(_("An integrity error occurred while creating components"))
|
||||||
raise JobFailed
|
raise JobFailed
|
||||||
|
|
||||||
except (AbortRequest, PermissionsViolation) as e:
|
except (AbortRequest, PermissionsViolation) as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user