Please don't hide plugin loading errors
Bug #250528 reported by
TAC one
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Remote Apache Management tool |
Fix Released
|
Undecided
|
KillerKiwi |
Bug Description
I think we shuold print the exceptions that happen plugin loading for debug purposes.
=== modified file 'RapacheCore/
--- RapacheCore/
+++ RapacheCore/
@@ -2,7 +2,7 @@
import os.path
import imp
import sys
-
+import traceback
class PluginManager():
def __init__(self, pluginpath=None):
@@ -26,6 +26,7 @@
self.
print "loaded plugin : " + folder
except:
+ traceback.
print "error loading plugin " + folder
print ""
Related branches
Changed in rapache: | |
assignee: | nobody → killerkiwi2005 |
Changed in rapache: | |
status: | New → Fix Released |
To post a comment you must log in.