Fix build error

This commit is contained in:
Ming Ming 2024-11-18 01:26:45 +08:00
parent 0aab97f2f5
commit ce0b6d6c05

View file

@ -160,7 +160,7 @@ class Exif with EquatableMixin {
int.parse(str.substring(pos + 1)), int.parse(str.substring(pos + 1)),
); );
} catch (e, stackTrace) { } catch (e, stackTrace) {
log.shout( _$ExifNpLog.log.shout(
"[_tryParseRationalString] Failed to parse rational string: $str", "[_tryParseRationalString] Failed to parse rational string: $str",
e, e,
stackTrace); stackTrace);
@ -175,7 +175,9 @@ class Exif with EquatableMixin {
try { try {
return int.parse(str); return int.parse(str);
} catch (e, stackTrace) { } catch (e, stackTrace) {
log.shout("[_tryParseIntString] Failed to parse int string: $str", e, _$ExifNpLog.log.shout(
"[_tryParseIntString] Failed to parse int string: $str",
e,
stackTrace); stackTrace);
return null; return null;
} }