Add data label

This commit is contained in:
Ilia Rostovtsev 2019-11-17 15:10:12 +03:00
parent d6af912e6b
commit 1bf72b035d
No known key found for this signature in database
GPG Key ID: 121E166DD9C821AB

View File

@ -1523,7 +1523,7 @@ elsif ($ENV{'REQUEST_URI'} =~ /json-error=1/) {
else {
&header($text{'error'}, "");
print "<hr>\n";
print "<h3>",($main::whatfailed ? "$main::whatfailed : " : ""),
print "<h3 data-fatal-error-text>",($main::whatfailed ? "$main::whatfailed : " : ""),
@_,"</h3>\n";
if ($gconfig{'error_stack'}) {
# Show call stack