abort messages with http error code
[sheet.git] / digits.plp
index a6a684e6ced5ba4d24d6539b990a8545c1adfcf8..163ee1035a986b706a0f92cab3d151127080197e 100644 (file)
@@ -41,7 +41,7 @@ my $scriptname = do 'writing-script.inc.pl';
 $_ = showlink($_, "/latin") for $scriptname->{latn} || ();
 
 my $table = do "writing-digits.inc.pl";
-die "Table data not found: $_\n" for $@ || $! || ();
+Abort("Table data not found", 501, $_) for $@ || $! || ();
 
 sub printtable {
        say '<div class=section>', $glyphs->tabletag;