##// END OF EJS Templates
vcs: make the not initialiazed exception more meaningfull.
marcink -
r1002:b82fa46d default
parent child Browse files
Show More
@@ -25,7 +25,9 b' Holds connection for remote server.'
25
25
26 def _not_initialized(*args, **kwargs):
26 def _not_initialized(*args, **kwargs):
27 """Placeholder for objects which have to be initialized first."""
27 """Placeholder for objects which have to be initialized first."""
28 raise Exception("rhodecode.lib.vcs is not yet initialized")
28 raise Exception(
29 "rhodecode.lib.vcs is not yet initialized. "
30 "Make sure `vcs.server` is enabled in your configuration.")
29
31
30 # TODO: figure out a nice default value for these things
32 # TODO: figure out a nice default value for these things
31 Git = _not_initialized
33 Git = _not_initialized
General Comments 0
You need to be logged in to leave comments. Login now