Skip to content

Commit

Permalink
Re #6630. Added more information to the error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Mar 15, 2013
1 parent 5b5ffd3 commit 737b73c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Code/Mantid/Build/wiki_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ def initialize_Mantid(mantidpath):
import MantidFramework
from MantidFramework import mtd
except:
raise Exception("Error importing MantidFramework. Did you specify the --mantidpath option?")
msg = "Error importing MantidFramework. Did you specify the --mantidpath option? "
msg += "Tried to initialize from '%s'" % str(mantidpath)
raise Exception(msg)
mtd.initialise()
mantid_initialized = True

Expand Down

0 comments on commit 737b73c

Please sign in to comment.