mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
should never be reached
This commit is contained in:
parent
08d2e74521
commit
f2aeab09ec
@ -120,7 +120,7 @@ class PluginsRegistry:
|
|||||||
# We do not want to end in an endless loop
|
# We do not want to end in an endless loop
|
||||||
retry_counter -= 1
|
retry_counter -= 1
|
||||||
|
|
||||||
if retry_counter <= 0:
|
if retry_counter <= 0: # pragma: no cover
|
||||||
if settings.PLUGIN_TESTING:
|
if settings.PLUGIN_TESTING:
|
||||||
print('[PLUGIN] Max retries, breaking loading')
|
print('[PLUGIN] Max retries, breaking loading')
|
||||||
# TODO error for server status
|
# TODO error for server status
|
||||||
|
Loading…
Reference in New Issue
Block a user