** Changed in: mahara
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1855771

Title:
  Allow non-mahara exceptions to show a bit more detail

Status in Mahara:
  Fix Released

Bug description:
  When you see errors like:

  [WAR] 9c (lib/errors.php:536) [ParseError]: syntax error, unexpected 'parent' 
(T_STRING), expecting function (T_FUNCTION)
   Call stack (most recent first):
     * exception(object(ParseError)) at Unknown:0
   
  It is not obvious to where the problem is - especially if you are 
cherry-picking in a bunch of patches and so are not familiar with the code

  With PHP Exception class there are some bits we can harness to help up
  https://www.php.net/manual/en/class.exception.php

  The getFile() and getLine() methods will be useful

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1855771/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to