2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 11:36:44 +00:00

Ensure error is raised (#8849) (#8850)

(cherry picked from commit 3a62bdd2762e36bb22dd06edc3eacc626a4feff3)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
github-actions[bot] 2025-01-07 17:31:59 +11:00 committed by GitHub
parent 6045925ebe
commit 8576fbbade
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -579,9 +579,7 @@ class PluginsRegistry:
except Exception as error:
# Handle the error, log it and try again
if attempts == 0:
handle_error(
error, log_name='init', do_raise=settings.PLUGIN_TESTING
)
handle_error(error, log_name='init', do_raise=True)
logger.exception(
'[PLUGIN] Encountered an error with %s:\n%s',