Skip to content

Commit a769629

Browse files
fix(logging): added verbose logging to platform failure
1 parent bae9be2 commit a769629

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/abs/icon_generator.dart

+4-1
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,11 @@ void generateIconsFor({
7070
}
7171
platform.createIcons();
7272
progress.finish(message: 'done', showTiming: true);
73-
} catch (e) {
73+
} catch (e, st) {
7474
progress.cancel();
75+
logger
76+
..error(e.toString())
77+
..verbose(st);
7578
continue;
7679
}
7780
}

0 commit comments

Comments
 (0)