CSS content handler: Ensure fetch hlcache callback handles errorcode.

This commit is contained in:
Michael Drake 2017-08-28 10:32:48 +01:00
parent 8180116d96
commit adc6ceb0bb

View File

@ -109,6 +109,7 @@ html_convert_css_callback(hlcache_handle *css,
break;
case CONTENT_MSG_ERROR:
case CONTENT_MSG_ERRORCODE:
LOG("stylesheet %s failed: %s", nsurl_access(hlcache_handle_get_url(css)), event->data.error);
hlcache_handle_release(css);
s->sheet = NULL;