Skip to content

Commit

Permalink
clearer error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
adgaudio committed Oct 1, 2014
1 parent 0541bf7 commit 9a0f97e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scheduler/dag_tools/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@


def get_tasks_config():
cb = load_obj_from_path(CONFIGURATION_BACKEND)()
try:
cb = load_obj_from_path(
CONFIGURATION_BACKEND, dict(key='CONFIGURATION_BACKEND'))()
except:
log.error("Could not load configuration backend")
raise
return cb


Expand Down

0 comments on commit 9a0f97e

Please sign in to comment.