mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-05 18:01:14 +00:00
should never be reached
This commit is contained in:
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user