Christoph Wurst
979b291a36
Show the full trace of an exception
...
Because often we catch the exception at some point and then the trace is
misleading. What's really interesting is the trace of the *previous*
exception.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-10 10:35:08 +01:00
timm2k
4a352befca
Check if var debugMode exists
...
Closes #21150 a second time.
2nd appearance of debugMode may not seen in first fix.
2020-09-04 13:50:14 +02:00
Roeland Jago Douma
ac3137a166
Check if debugMode is defined before using it
...
Else the sabre error page (where the var is not defined) will throw
warnings all the time.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-02 15:46:59 +02:00
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
...
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 14:19:56 +02:00
Julius Härtl
74325f1f94
Use array in t() calls in exception template
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-02-23 11:18:29 +01:00
Allan Nordhøy
d6adc240c4
Spelling: Shortening and single please.
2017-08-29 16:10:54 +02:00
Morris Jobke
83b0191017
fix design of the track trace
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-12 18:48:48 +02:00
Jan-Christoph Borchardt
9f67fb86c8
Improve design of various error messages
...
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-08-12 18:48:48 +02:00
Roeland Jago Douma
740659a04c
Move away from OC_L10N
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-28 21:46:28 +02:00
Morris Jobke
e07a2fd8a2
Merge pull request #15012 from Volker-E/master
...
fixing #15011 by adding ARIA roles where distinct
2015-03-24 12:07:26 +01:00
Robin Appelman
2df20aaffb
show exception type in debug mode
2015-03-20 03:51:21 +01:00
Volker E
0e4d52f9d2
fixing #15027 , cleaning up obsolete IE5-7 workaround code
2015-03-19 09:10:58 +01:00
Morris Jobke
5b4fd12b5b
add CSS to exception page - fixes #13747
2015-01-29 20:18:08 +01:00
Lukas Reschke
852c7ef9da
Use l10n on this string as well
2014-10-16 22:04:24 +02:00
Jan-Christoph Borchardt
d66a8daf7f
replace horizontal rules with whitespace
2014-09-17 13:17:53 +02:00
Lukas Reschke
6d3757f864
Do not show exception to the end-user
...
Log the error instead of potentially leaking sensitive information
2014-09-17 13:17:52 +02:00
Lukas Reschke
40e51d13d2
Remove uneeded file
2013-02-27 22:35:37 +01:00
Bart Visscher
1a747b3e48
Style cleanup core dir
2013-02-21 23:47:21 +01:00
Bart Visscher
d3ef967993
Fix indentation style
2013-02-14 08:36:26 +01:00
Lukas Reschke
1eb3c8ecf6
Correct link to the bugtracker in exception.php
2013-01-11 16:42:06 +01:00
Thomas Mueller
3829460ab8
adding space between) and {
2012-09-07 15:22:01 +02:00
Georg Ehrke
d049d9bd0c
initial commit for OC_Exception
2012-03-29 23:16:19 +02:00