keyboard: report code errors in altgr includes
[sheet.git] / keyboard.plp
index c96977d7eb7dadf4df9f596dad50222322489a90..a7bdc9144d1813aa27ae06198f1a7f9f42223727 100644 (file)
@@ -4,6 +4,7 @@ my $mode = lc($Request || 'altgr');
 my $include = "$mode.eng";
 
 my $info = eval { Data($include) } || {};
+warn "error in $include: ", @{$@} if ref $@;
 $mode = $info->{title} // $mode;
 
 Html({