Skip to content

Commit e5c09a9

Browse files
committed
escape also the throwable message, see #278
1 parent 97a4044 commit e5c09a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: org/w3c/css/css/StyleSheetParser.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public void parseURL(ApplContext ac, URL url, String title,
234234
} catch (Exception e) {
235235
Errors er = new Errors();
236236
er.addError(new org.w3c.css.parser.CssError(Messages.escapeString(url.toString()),
237-
-1, e));
237+
-1, new Exception(Messages.escapeString(e.getMessage()))));
238238
notifyErrors(er);
239239
} finally {
240240
if (doneref) {

0 commit comments

Comments
 (0)