Skip to content

Commit d135534

Browse files
authored
chore: be more specific on an error log (#3036)
1 parent 9651b42 commit d135534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/font/src/font.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class Font {
137137

138138
if (!res) {
139139
throw new Error(
140-
`Could not resolve font for ${this.family}, fontWeight ${fontWeight}`,
140+
`Could not resolve font for ${this.family}, fontWeight ${fontWeight}, fontStyle ${fontStyle}`,
141141
);
142142
}
143143

0 commit comments

Comments
 (0)