Graphics element without URL breaks TEI to HTML rendering

broken:

works:

error in aggregator:

aggregator-1  | TEI HTML creation in single document mode 
aggregator-1  | Cannot work out how to do a graphic, needs a URL
aggregator-1  | Error at xsl:message on line 388 of tohtml.xsl:
aggregator-1  |   XTMM9000: Processing terminated by xsl:message at line 388 in tohtml.xsl
aggregator-1  |   at xsl:call-template name="showGraphic" (file:/usr/local/tomcat/webapps/aggregator/tei-stylesheets/html/html_figures.xsl#262)
aggregator-1  |   at xsl:apply-templates (file:/usr/local/tomcat/webapps/aggregator/tei-stylesheets/html/html_core.xsl#518)
aggregator-1  |      processing /TEI/text[1]/body[1]/p[3]/lg[1]/l[3]/graphic[1]
aggregator-1  |   at xsl:apply-templates (file:/usr/local/tomcat/webapps/aggregator/tei-stylesheets/html/html_core.xsl#568)
aggregator-1  |      processing /TEI/text[1]/body[1]/p[3]/lg[1]/l[3]
aggregator-1  |   at xsl:apply-templates (file:/usr/local/tomcat/webapps/aggregator/tei-stylesheets/html/html_core.xsl#1234)
aggregator-1  |      processing /TEI/text[1]/body[1]/p[3]/lg[1]
aggregator-1  |   in built-in template rule
aggregator-1  |   at xsl:apply-templates (file:/usr/local/tomcat/webapps/aggregator/tei-stylesheets/html/html_textstructure.xsl#2343)
aggregator-1  |      processing /TEI/text[1]/body[1]
aggregator-1  |   at xsl:call-template name="simpleBody" (file:/usr/local/tomcat/webapps/aggregator/tei-stylesheets/html/html_textstructure.xsl#391)
aggregator-1  |   at xsl:apply-templates (file:/usr/local/tomcat/webapps/aggregator/tei-stylesheets/html/html_textstructure.xsl#172)
aggregator-1  |      processing /TEI
aggregator-1  |   at xsl:call-template name="processTEI" (file:/usr/local/tomcat/webapps/aggregator/tei-stylesheets/html/html_textstructure.xsl#103)

which is caused by

<xsl:message terminate="yes">Cannot work out how to do a graphic, needs a URL</xsl:message> - https://github.com/TEIC/Stylesheets/blob/3a2ee78c0b8f26c20012c02c300dd8ea262e810f/html/html_figures.xsl#L373

because it meets graphic elements like

<l><graphic></graphic></l> - https://textgridlab.org/1.0/tgcrud-public/rest/textgrid:3vv08.0/data

question is, if termination is to rude, if xslt could not just skip over broken graphics elements

Edited by Ubbo Veentjer