git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge Master in geni-v3 conflict resolution
[sfa.git]
/
sfa
/
managers
/
managerwrapper.py
diff --git
a/sfa/managers/managerwrapper.py
b/sfa/managers/managerwrapper.py
index
58a0527
..
946f7d2
100644
(file)
--- a/
sfa/managers/managerwrapper.py
+++ b/
sfa/managers/managerwrapper.py
@@
-24,6
+24,9
@@
class ManagerWrapper:
# to the actual method calls anyway
self.manager = manager(config)
else:
# to the actual method calls anyway
self.manager = manager(config)
else:
+ # that's what happens when there's something wrong with the db
+ # or any bad stuff of that kind at startup time
+ logger.log_exc("Failed to create a manager, startup sequence is broken")
raise SfaAPIError,"Argument to ManagerWrapper must be a module or class"
self.interface = interface
raise SfaAPIError,"Argument to ManagerWrapper must be a module or class"
self.interface = interface