-
Robert Lyon authored
So that we can debug things easier The Exception class has two useful methods, getFile() and getLine() so we can use these to dispaly where the problem is rather than just a generic: exception(object(ParseError)) at Unknown:0 To test: - a syntax mistake - add a log_debug() line before the first function in a class and see if the error shows the correct file/line - MaharaException - add the following line somewher ein the code throw new MaharaException("Missing bananas"); and see if the error shows the correct file/line behatnotneeded Change-Id: I5a254f842ab6444ebb324e11e2c93d1c44e3e1d3 Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
9b35263d