Commit Graph

19 Commits

Author SHA1 Message Date
Mark Rickerby
43ab200ee9 added more readable output for error messages and exceptions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@51130 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-16 22:13:31 +00:00
Matt Peel
7d13ba7fb8 Reverted geoffm's accidental commit to /open
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50107 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-25 02:10:37 +00:00
Geoff Munn
bf3c09bec6 First post
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50105 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-25 01:06:39 +00:00
Mark Rickerby
24bd071767 removed redundant error strings
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49915 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-20 23:01:02 +00:00
Mark Rickerby
6966328cd5 Added a default exception handler. Any uncaught exceptions thrown from application code are now scooped up by the Debug::fatalHandler
Still some small problems with displaying stack traces of exceptions because the context array from trigger_error looks quite different from that of Exception::getTrace

Also fixed a couple of echo/print bugs in Debug::friendlyError. From the looks of the code there may be more bugs to cleanup here.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49899 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-20 21:37:22 +00:00
Sam Minnee
49db7da7c6 Merged revisions 49732 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.1.0-rc3oriwave2

........
  r49732 | sminnee | 2008-02-19 10:27:49 +1300 (Tue, 19 Feb 2008) | 1 line
  
  Updated subject line of warning/error emails
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49798 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:49:57 +00:00
Sam Minnee
1273671cdf #1878: wakeless: Supress disabled errors on live site
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49702 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-18 05:06:39 +00:00
Sam Minnee
675fc1cb88 Bypass debug handler for E_USER_NOTICE as well as E_NOTICE
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49586 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-15 05:42:08 +00:00
Normann Lou
9750028e8d fix wrong warning info: Director -> Debug
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47851 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 22:42:36 +00:00
Andrew O'Neil
0626a0a15a Remove debug message
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47840 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 20:53:47 +00:00
Sam Minnee
b1d2e3906b API Documentation updates
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47766 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-09 04:18:36 +00:00
Sam Minnee
d27937f448 Updated API documentation package tags
Fixed some whitespace

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47725 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 06:37:50 +00:00
Andrew O'Neil
84a3cd29d0 Fix stack trace on objects that don't extend the Object class
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47716 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 03:00:38 +00:00
Andrew O'Neil
50b2f7180f Throw a E_USER_NOTICE on use of deprecated functions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47306 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-18 22:50:23 +00:00
Andrew O'Neil
f7127c90bc #1586 - Object.php contains request parameter 'debugmethods'
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44487 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-07 23:46:00 +00:00
Ingo Schommer
daca02b9a7 mlanthaler: Don't show a error message and don't quit the script when the error was expected (statement with an @ in front to suppress the error). (merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41730 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 03:19:34 +00:00
Sam Minnee
f199dc6cd4 Added docblock headers and removed notice-level errors
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40912 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-27 05:13:43 +00:00
Matt Peel
f9b575dff4 Fixed < being on the wrong side of a \n character, causing XHTML errors.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40168 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-15 11:54:11 +00:00
Hayden Smith
4a5d9b03f8 Moved Sapphire module to open source path
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39001 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-19 10:40:28 +00:00