mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +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…
x
Reference in New Issue
Block a user